Tablestore SDK for Python supports the following search index query types.
|
Query type |
Description |
|
Matches all rows. Use to get the total row count or return random rows. |
|
|
Retrieves data by exact match on a column value, similar to string matching. |
|
|
Matches rows where a column value equals any of the specified keywords. Equivalent to the SQL IN operator. |
|
|
Matches rows where a column value starts with the specified prefix. |
|
|
Matches rows where a column value falls within a specified range. |
|
|
Matches rows by using wildcard characters in the search string. |
|
|
Checks whether a specific column exists in a row. Also known as a NULL query or NULL-value query. Useful for sparse data. |
|
|
Deduplicates results by a specified column so that each distinct value appears only once, ensuring diversity in the result set. |
|
|
Queries rows by geographic location. Includes three subtypes:
|
|
|
Queries child rows of nested fields. |