Search for nearest neighbors

Find the k nearest vectors to a given query vector. Optionally filter results by metadata attributes using a filter expression.

The nprobe parameter controls how many posting lists are searched. Higher values improve recall at the cost of latency.

The includeFields parameter controls which attributes are returned for each result. When omitted, all attributes are returned.

Supports both binary protobuf (application/protobuf) and ProtoJSON (application/protobuf+json) request bodies.

post/api/v1/vector/search

Response

Search results ranked by similarity.

Changes