Lucene99HnswVectorsReader
Reads vectors from the index segments along with index data structures supporting KNN search.
Properties
Functions
Checks consistency of this reader.
Optional: reset or close merge resources used in the reader
Returns the ByteVectorValues for the given field. The behavior is undefined if the given field doesn't have KNN vectors enabled on its FieldInfo. The return value is never null.
Returns the FloatVectorValues for the given field. The behavior is undefined if the given field doesn't have KNN vectors enabled on its FieldInfo. The return value is never null.
Return the memory usage of this object in bytes. Negative values are illegal.
Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function. The score of each document is derived from the vector similarity in a way that ensures scores are positive and that a larger score corresponds to a higher ranking.