Uses of Class
org.apache.lucene.codecs.KnnVectorsReader
Packages that use KnnVectorsReader
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
HNSW vector helper classes.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of KnnVectorsReader in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return KnnVectorsReaderModifier and TypeMethodDescriptionabstract KnnVectorsReader
KnnVectorsFormat.fieldsReader
(SegmentReadState state) Returns aKnnVectorsReader
to read the vectors from the index.KnnVectorsReader.getMergeInstance()
Returns an instance optimized for merging. -
Uses of KnnVectorsReader in org.apache.lucene.codecs.hnsw
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.hnsw -
Uses of KnnVectorsReader in org.apache.lucene.codecs.lucene99
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.lucene99Modifier and TypeClassDescriptionfinal class
Reads vectors from the index segments.final class
Reads vectors from the index segments along with index data structures supporting KNN search.final class
Reads Scalar Quantized vectors from the index segments along with index data structures.Methods in org.apache.lucene.codecs.lucene99 that return KnnVectorsReaderModifier and TypeMethodDescriptionLucene99HnswScalarQuantizedVectorsFormat.fieldsReader
(SegmentReadState state) Lucene99HnswVectorsFormat.fieldsReader
(SegmentReadState state) -
Uses of KnnVectorsReader in org.apache.lucene.codecs.perfield
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.perfieldModifier and TypeClassDescriptionstatic class
VectorReader that can wrap multiple delegate readers, selected by field.Methods in org.apache.lucene.codecs.perfield that return KnnVectorsReaderModifier 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
Fields in org.apache.lucene.index declared as KnnVectorsReaderModifier and TypeFieldDescriptionfinal KnnVectorsReader[]
MergeState.knnVectorsReaders
Vector readers to mergeMethods in org.apache.lucene.index that return KnnVectorsReaderModifier and TypeMethodDescriptionabstract KnnVectorsReader
CodecReader.getVectorReader()
Expert: retrieve underlying VectorReaderFilterCodecReader.getVectorReader()
SegmentReader.getVectorReader()
SortingCodecReader.getVectorReader()
Constructors in org.apache.lucene.index with parameters of type KnnVectorsReaderModifierConstructorDescriptionMergeState
(MergeState.DocMap[] docMaps, SegmentInfo segmentInfo, FieldInfos mergeFieldInfos, StoredFieldsReader[] storedFieldsReaders, TermVectorsReader[] termVectorsReaders, NormsProducer[] normsProducers, DocValuesProducer[] docValuesProducers, FieldInfos[] fieldInfos, Bits[] liveDocs, FieldsProducer[] fieldsProducers, PointsReader[] pointsReaders, KnnVectorsReader[] knnVectorsReaders, int[] maxDocs, InfoStream infoStream, Executor intraMergeTaskExecutor, boolean needsIndexSort) Create a new merge instance. -
Uses of KnnVectorsReader in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as KnnVectorsReaderModifier and TypeFieldDescriptionprotected KnnVectorsReader
IncrementalHnswGraphMerger.initReader
Methods in org.apache.lucene.util.hnsw with parameters of type KnnVectorsReaderModifier and TypeMethodDescriptionHnswGraphMerger.addReader
(KnnVectorsReader reader, MergeState.DocMap docMap, Bits liveDocs) Adds a reader to the graph merger to record the stateIncrementalHnswGraphMerger.addReader
(KnnVectorsReader reader, MergeState.DocMap docMap, Bits liveDocs) Adds a reader to the graph merger if it meets the following criteria: 1.