Skip to content

Glossary: Embeddings and Vector Search

HNSW settings (M, efConstruction, efSearch)

Also written: efSearch, ef_search, efConstruction, ef_construction, M

The HNSW tuning settings: `M` is links per vector, `efConstruction` is candidates considered while building, and `efSearch` is candidates kept while searching. Raising them improves recall but costs time or memory.

Where the book teaches it

Related terms

HNSW