Use this method to search for relevant matches in an index using combined queries.
For clarity, the combined search feature is documented in this section. However, note that the /search
endpoint supports all the features of the /combined-search
endpoint.
This method returns the first page of results. To retrieve the subsequent pages, you must call the GET
method of the /combined-search/{page-token}
endpoint, passing it the unique identifier of the page you want to retrieve.
The unique identifier of the index to search.
An array that specifies the sources of information the platform uses when performing a search. For details, see the Search options page.
The search options you specify must be a subset of the engine options used when you created the index.
Use the query
parameter to build combined queries.
For details about building combined queries, see the Combined queries page.
Specifies the type of match the platform will perform. The following values are supported: semantic
and exact_match
. For details, see the Conversation option page.
Default: semantic
This parameter specifies the strictness of the thresholds for assigning the high, medium, or low confidence levels to search results. If you use a lower value, the thresholds become more relaxed, and more search results will be classified as having high, medium, or low confidence levels. You can use this parameter to include a broader range of potentially relevant video clips, even if some results might be less precise.
Min: 0 Max: 1 Default: 0.5
Use this parameter to filter your search results by metadata.
For string fields, the filter parameter returns only the results that equal the value you specify. The following example filters on the videos whose title is “Animal Encounters part 1”: "title": "Animal Encounters part 1"
.
For numeric fields, the filter parameter returns the results that match based on the arithmetic comparison. The following example filters on the videos whose height is greater than or equal to 400 and less than or equal to 500: "height": { "gte": 400, "lte": 500 }
.
To enable filtering by custom fields:
PUT
method of the /indexes/:index-id/videos/:video-id
endpointneedsReview
of type boolean is true
, use: "needs_review": true
.The number of items to return on each page.
Default: 10
Max: 50
Use this parameter to filter on the level of confidence that the results match your query.
Default: low
Successfully performed a search request.
An array of objects that contains your search results.
An object that provides information about pagination.
An object that contains details about the index you queried.