Lucene99FlatVectorsWriter
class Lucene99FlatVectorsWriter(state: SegmentWriteState, scorer: FlatVectorsScorer) : FlatVectorsWriter
Writes vector values to index segments.
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.