Lucene102BinaryQuantizedVectorsWriter
class Lucene102BinaryQuantizedVectorsWriter(vectorsScorer: Lucene102BinaryFlatVectorsScorer, rawVectorDelegate: FlatVectorsWriter, state: SegmentWriteState) : FlatVectorsWriter
Copied from Lucene, replace with Lucene's implementation sometime after Lucene 10
Constructors
Link copied to clipboard
constructor(vectorsScorer: Lucene102BinaryFlatVectorsScorer, rawVectorDelegate: FlatVectorsWriter, state: SegmentWriteState)
Properties
Functions
Link copied to clipboard
Add a new field for indexing
Link copied to clipboard
Flush all buffered data on disk *
Link copied to clipboard
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
open override fun mergeOneFieldToIndex(fieldInfo: FieldInfo, mergeState: MergeState): CloseableRandomVectorScorerSupplier
Write the field for merging, providing a scorer over the newly merged flat vectors. This way any additional merging logic can be implemented by the user of this class.
Link copied to clipboard
Return the memory usage of this object in bytes. Negative values are illegal.