Request object for search operation. Either table (regular search) or chat (conversational search) must be provided.
| Name | Type | Description | Notes |
|---|---|---|---|
| table | String | The table to perform the search on | [optional] |
| chat | Chat | [optional] | |
| query | SearchQuery | [optional] | |
| join | List<Join> | Join clause to combine search data from multiple tables | [optional] |
| highlight | Highlight | [optional] | |
| limit | Integer | Maximum number of results to return | [optional] |
| knn | Knn | K-nearest neighbor search settings. Pass a single `knn` object or an array of objects for multi-vector search. | [optional] |
| hybrid | Hybrid | [optional] | |
| facetFilterMode | FacetFilterMode | [optional] | |
| aggs | Map<String, Aggregation> | Defines aggregation settings for grouping results | [optional] |
| expressions | Map<String, String> | Expressions to calculate additional values for the result. Simpler alternative to `script_fields`; expression names must be lowercase. | [optional] |
| scriptFields | Map<String, ScriptField> | Named expressions computed at search time. Each value defines an inline script whose result is stored under the field name. For more information see Expressions | [optional] |
| maxMatches | Integer | Maximum number of matches allowed in the result | [optional] |
| offset | Integer | Starting point for pagination of the result | [optional] |
| options | Object | Additional search options | [optional] |
| profile | Boolean | Enable or disable profiling of the search request | [optional] |
| sort | Object | [optional] | |
| source | Object | [optional] | |
| trackScores | Boolean | Enable or disable result weight calculation used for sorting | [optional] |