Search

Recommend batch points

POST
Retrieves points in batches that are closer to stored positive examples and further from negative examples.

Path parameters

collection_namestringRequired
Name of the collection to search in

Query parameters

consistencyunionOptional
Define read consistency guarantees for the operation
timeoutintegerOptional
If set, overrides global timeout for this request. Unit is seconds.

Request

This endpoint expects an object.
searches
list of objectsRequired

Recommendation request. Provides positive and negative examples of the vectors, which can be ids of points that are already stored in the collection, raw vectors, or even ids and vectors combined.

Service should look for the points which are closer to positive examples and at the same time further to negative examples. The concrete way of how to compare negative and positive distances is up to the strategy chosen.

Response

This endpoint returns an object
time
doubleOptional
Time spent to process this request
status
stringOptional
result
list of lists of objectsOptional
Search result