Skip to content

Vectors

Vector types support embeddings, metadata, quantization, and similarity search.

See Type construction and operations for metric definitions, dimensions, exact-scan behavior, HNSW graph construction/search, quantization, result ordering, and the current protocol’s lack of metadata-filter expressions.

TypeConstructionPrincipal operations
dense_vectorSETDISTANCE
sparse_vectorSETGET
vector_setCREATEADD, REMOVE, SEARCH, LEN
vector_metadataCREATEGET, SET, DELETE
quantized_vectorSETDEQUANTIZE