Endpoint
Query parameter
The search query string using the advanced query language.
Response format
The total number of results, without applying
offset and max_results limits.The count of records returned in the current request.
An array of matching records.
Query language
Keywords
select
Includes field values from the search index as an additionalselected_data section in results. Field names should include a type prefix; if omitted, the text type is assumed.
Parentheses are mandatory when selecting multiple fields with aliases.
from
Specifies entity aliases to search from. Accepts one or multiple aliases:where
Defines search parameters. Use with field type, field name, operator, and value.and, or
Combine multiple clauses:text is used by default.
offset
Sets the offset of the first result.max_results
Sets the maximum number of results to return.order_by
Sorts results in ascending or descending order:text is used. Direction is ASC or DESC (defaults to ASC).
Field types
Supported field types:text, integer, decimal, datetime.
If a field type is not specified, text is assumed.
Operators for string fields
| Operator | Description | Example |
|---|---|---|
~ (CONTAINS) | Field contains the value. | name ~ value or name ~ "string value" |
!~ (NOT CONTAINS) | Field does not contain the value. | name !~ value |
like | Field contains the substring (LIKE %value%). | name like "string value" |
notlike | Field does not contain the substring. | name notlike "string value" |
Operators for numeric fields
| Operator | Description | Example |
|---|---|---|
= | Equals | integer count = 100 |
!= | Not equals | integer count != 5 |
> | Greater than | integer count > 5 |
< | Less than | decimal price < 45 |
>= | Greater than or equal | integer count >= 5 |
<= | Less than or equal | integer count <= 10 |
in | Value is in the specified set | integer count in (5, 10, 15, 20) |
!in | Value is not in the specified set | integer count !in (1, 3, 5) |
Query brackets
Combine operators using parentheses:Query examples
Search products containing “opportunity” with price greater than 100:all_text field does not contain “opportunity”: