Table of Contents

Internal classSealedInternal VectorReaderSource

Namespace
Rowles.LeanLucene.Codecs.Vectors
Assembly
Rowles.LeanLucene.dll

Adapts a VectorReader to the IVectorSource contract so an HNSW graph loaded from disc can resolve vector data on demand.

internal sealed class VectorReaderSource : IVectorSource
VectorReaderSource
Implements

Constructors

Public constructor VectorReaderSource(VectorReader)

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.