Table of Contents

Internal interfaceInternal 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

Public propertyRead-only Count

Total number of vectors addressable by this source.

Public propertyRead-only Dimension

Vector dimension; every vector returned has exactly this length.

Methods

Public method GetVector(int)

Returns the vector for a document identifier as a read-only span.