Skip to main content

Descriptors and similarity search

A descriptor stores a numeric vector in a named class. Each vector index on that class defines a search engine, the vector dimensions, and one or more distance metrics.

Common workflow​

Use AddDescriptor to store vectors and CreateIndex to enable similarity search. You can create an index before or after adding vectors. FindDescriptor accepts a query vector and can combine nearest-neighbor search with property and connection filters. See the descriptor index reference.

Examples. Each example includes its input and permission requirements.

Commands​

See system-defined properties for object identifiers and built-in metadata, transactions and references for command chaining, and reading results for property selection and binary output.