Lucene99HnswVectorsWriter
class Lucene99HnswVectorsWriter(state: SegmentWriteState, M: Int, beamWidth: Int, flatVectorWriter: FlatVectorsWriter, numMergeWorkers: Int, mergeExec: TaskExecutor?) : KnnVectorsWriter
Writes vector values and knn graphs to index segments.
Constructors
Link copied to clipboard
constructor(state: SegmentWriteState, M: Int, beamWidth: Int, flatVectorWriter: FlatVectorsWriter, numMergeWorkers: Int, mergeExec: TaskExecutor?)
Properties
Functions
Link copied to clipboard
Add new field for indexing
Link copied to clipboard
Flush all buffered data on disk *
Link copied to clipboard
Merges the segment vectors for all fields. This default implementation delegates to .mergeOneField, passing a KnnVectorsReader that combines the vector values and ignores deleted documents.
Link copied to clipboard
Write field for merging
Link copied to clipboard
Return the memory usage of this object in bytes. Negative values are illegal.