query
: A query object that represents the search criteria. It can
contain several query filters combined with standard operators. More details in Query Filtersrerank_threshold
(Optional): A float between 0 and 1 for an optional re-ranking phase. More details in Rerank searchscope
(Optional): An object that filters the search results by content
type (news, files, etc.). More details in Scope.date_range
(Optional): A date range object that specifies the time frame of the
search. More details in Date Range.sortby
(Optional): An enum that specifies the sorting criteria of the search
results, either by SortBy.DATE
or SortBy.RELEVANCE
.search.run(x)
requests x
documents with chunks. Suppose you prefer to control the number of retrieved chunks instead of documents. You can use the object ChunkLimit(y)
. Check out Retrieved limited chunks for more details.