search
Search a collection with hybrid
Performs a hybrid search over the objects of a collection: the query is scored with the BM25F ranking function over the searchable text properties (all of them, or the queryProperties subset) and, in parallel, vectorized server-side and searched against the vector index; the two rankings are fused (per fusionType, weighted by alpha) and the best objects are returned, each as an envelope of its id, the selected properties, the selected references and, when requested, its retrieval metadata.
post/search/{collection}/hybrid
Request
- Base URL: https://localhost:8080/v1
- URL: https://localhost:8080/v1/search/{collection}/hybrid
- Auth: one of:
- none
- OAuth 2 (implicit, authorization URL http://to-be-configured-in-the-application-config)
Path parameters
collectionstring required
The name (or alias) of the collection to search. A lowercase first letter is normalized to the canonical uppercase form.
Request body
Example request
{
"where": {
"operator": "GreaterThanEqual",
"path": [
"inCity",
"city",
"name"
],
"valueInt": 2000,
"valueNumber": 3.14,
"valueString": "my search term",
"valueText": "my search term",
"valueDate": "TODO",
"valueNumberArray": [
3.14
],
"valueBooleanArray": [
true,
false
],
"valueStringArray": [
"my search term"
],
"valueTextArray": [
"my search term"
]
}
}Response
Search performed successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.