

InMemoryVectorSource
- Namespace
- Rowles.LeanLucene.Codecs.Vectors
- Assembly
- Rowles.LeanLucene.dll
In-memory IVectorSource backed by an indexed dictionary of vectors. Used during HNSW build before the .vec file has been written.
internal sealed class InMemoryVectorSource : IVectorSource
InMemoryVectorSource
- Implements
Constructors
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.