Uses of Class
org.apache.lucene.codecs.KnnVectorsReader
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.1 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
-
Uses of KnnVectorsReader in org.apache.lucene.codecs
Modifier and TypeMethodDescriptionabstract KnnVectorsReader
KnnVectorsFormat.fieldsReader
(SegmentReadState state) Returns aKnnVectorsReader
to read the vectors from the index.KnnVectorsReader.getMergeInstance()
Returns an instance optimized for merging.Modifier and TypeMethodDescriptionabstract void
KnnVectorsWriter.writeField
(FieldInfo fieldInfo, KnnVectorsReader knnVectorsReader) Write all values contained in the provided reader -
Uses of KnnVectorsReader in org.apache.lucene.codecs.lucene91
Modifier and TypeClassDescriptionfinal class
Reads vectors from the index segments along with index data structures supporting KNN search.Modifier and TypeMethodDescriptionvoid
Lucene91HnswVectorsWriter.writeField
(FieldInfo fieldInfo, KnnVectorsReader knnVectorsReader) -
Uses of KnnVectorsReader in org.apache.lucene.codecs.perfield
Modifier and TypeClassDescriptionstatic class
VectorReader that can wrap multiple delegate readers, selected by field.Modifier and TypeMethodDescriptionPerFieldKnnVectorsFormat.fieldsReader
(SegmentReadState state) PerFieldKnnVectorsFormat.FieldsReader.getFieldReader
(String field) Return the underlying VectorReader for the given field -
Uses of KnnVectorsReader in org.apache.lucene.index
Modifier and TypeFieldDescriptionfinal KnnVectorsReader[]
MergeState.knnVectorsReaders
Vector readers to mergeModifier and TypeMethodDescriptionabstract KnnVectorsReader
CodecReader.getVectorReader()
Expert: retrieve underlying VectorReaderFilterCodecReader.getVectorReader()
SegmentReader.getVectorReader()
SortingCodecReader.getVectorReader()