ef search

The HNSW query setting for how many candidate vectors the search keeps while walking the graph; higher finds more true neighbours but runs slower.

In more detail

Its build-time sibling, ef construction, sets how hard the index searches for good links when inserting. Tune both by measuring recall at k and latency on your own queries, including filtered ones.

Related terms

Taught in

References

Certification courses