
HnswSearchOptions
- Namespace
- Rowles.LeanCorpus.Search
- Assembly
- Rowles.LeanCorpus.dll
Search-time options for HNSW graph traversal.
public sealed class HnswSearchOptions
- Inheritance
-
HnswSearchOptions
Ef
Candidate set size (ef) maintained during traversal. Higher gives better recall.
MaxPostFilterRetries
Number of times ef is doubled when post-filtering leaves fewer than
TopK survivors. Default is three.
TopK
Maximum results to return after filtering. Zero means unlimited.