
IVectorSource
- Namespace
- Rowles.LeanLucene.Codecs.Vectors
- Assembly
- Rowles.LeanLucene.dll
Provides random access to vectors during HNSW graph operations. Implementations include an in-memory list adapter (used at build time) and a memory-mapped VectorReader adapter (used at search and merge time).
internal interface IVectorSource
Properties
Count
Total number of vectors addressable by this source.
Dimension
Vector dimension; every vector returned has exactly this length.
Methods
GetVector(int)
Returns the vector for a document identifier as a read-only span.