Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search

Run a search against a ready index by choosing a schema type, building queries and filters, or loading a saved search.

The Search view runs a query against one ready index for a custom schema type, customers, or legal entities. You can build queries and filters on the page, or load a saved search and supply new query text.

Choose a type and index

Open Search from the side menu. Choose a specific Schema type, such as a custom type, Customers, or Legal entities, and an associated Index.

Use an index with status Ready. An index that is still building is not ready for search, and the same applies to customer and legal-entity indexes while a reindex runs. For more information, see Reindex customers or legal entities.

Build queries and filters

Use Ask assistant to build the search. Describe what you want to find, and the assistant adds the relevant queries and filters for the selected index. Review the result, edit it if needed, then run the search.

The search query assistant is an AI agent that Support enables in the Agentic AI view when they set up the Search Cockpit.

Search query assistant
Search query assistant

You can also build the criteria yourself. Use a single query or filter when one condition is enough. Use a group when you need several clauses combined with AND or OR, including nested groups. You need at least one query or filter before you run a search. Changing a query or filter clears the current results.

Queries

Under Queries, select Add query for one text match, or Add group to combine several queries. Each query defines a Query field, Query type, and Query text. Optionally, set Boost to a whole number from 1 to 10. Boost multiplies the score for matches on that clause, so you can rank hits that match an important field higher than hits that match a less important one.

You can choose between the following query types:

  • TEXT – match analyzed tokens; supports fuzzy matching.

  • PHRASE – match adjacent words in the same order.

  • AUTOCOMPLETE – match according to the field autocomplete option.

  • WILDCARD – match a case-sensitive pattern (* for any characters, ? for one).

A TEXT or PHRASE query uses the analyzer of its field. When the field also has additional analyzers, choose one under Analyzer to match in a different way, for example by sound. Leave Field default to use the analyzer set in the field's Analyzer option.

To find exact spellings and similar-sounding names in one search, add two queries for the same field in an OR group. Set a higher Boost on the query that uses Field default, so exact spellings rank above names that only sound alike. For more information, see Control text matching with analyzers.

Filters

Under Filters, select Add filter for one condition, or Add group to combine several filters. Each filter defines a Filter field, Operator, and Filter value. Equality, range, list, and existence filters need an Exact field on the index. CONTAINS needs a Text field.

You can choose between the following operators:

  • EQ, NEQ – equal or not equal to one value.

  • GT, GTE, LT, LTE – greater than, greater than or equal, less than, or less than or equal to one value.

  • BETWEEN – inclusive range; separate the two values with a comma.

  • IN, NOT_IN – match or exclude a list of values; separate values with a comma.

  • EXISTS – field is present or absent; use true or false.

  • CONTAINS – case- and diacritic-insensitive substring match.

Conditions on a list of objects

Queries and filters on fields inside a list, such as the addresses of a customer, follow these rules:

  • Conditions on the same list combined with AND must all match the same list item.

  • Conditions combined with OR can match different items.

  • A NEQ or NOT_IN condition excludes a record when at least one list item has the excluded value. For example, NEQ addresses.city Berlin excludes a customer who has any address in Berlin.

  • An EXISTS false condition excludes a record when at least one list item has the field.

  • Records with an empty list are included.

For more information, see Index a list of objects.

Select Search. Matching records appear with ID, score, and document details. The score ranks how well each hit matches the query. Use Previous and Next when the result spans more than one page.

To keep the definition for later, select Save search. Provide an Id, Name, and Description. This creates the same kind of definition as New saved search on the Saved searches view. Saving a search does not rebuild the index.

Choose a Saved search on the Search page, then enter Text for the query terms stored in that definition. That single text value replaces the text of every stored query term when you run the search. Filters and other settings from the saved definition stay in place unless you change them on the page. You can still adjust filters and run Search as usual.

Search with a saved search
Searching with a saved search

Last updated

Was this helpful?