
HnswBuildConfig
- Namespace
- Rowles.LeanCorpus.Codecs.Hnsw
- Assembly
- Rowles.LeanCorpus.dll
Build-time configuration for HNSW vector graphs.
public sealed class HnswBuildConfig
- Inheritance
-
HnswBuildConfig
EfConstruction
Candidate set size during graph construction. Must be in [1, 2000]. Default 100.
M
Maximum neighbours per node on layers above zero. Must be in [2, 100]. Default 16.
M0
Maximum neighbours on layer zero. Defaults to 2 * M when zero.
Must be in [2, 200] when set explicitly.