Skip to content

Glossary: Embeddings and Vector Search

operator class

Also written: vector_cosine_ops, vector_ip_ops, vector_l2_ops

In pgvector, the setting that tells an index which distance it serves. It must match the operator in your query, or the index is silently ignored.

Where the book teaches it

Related terms

pgvectormetric