Uses of Class
org.apache.lucene.codecs.KnnVectorsReader
Packages that use KnnVectorsReader
Package
Description
Lucene 9.0 file format.
Lucene 9.1 file format.
Lucene 9.2 file format.
Lucene 9.4 file format.
Lucene 9.5 file format.
Codecs API: API for customization of the encoding and structure of the index.
A simple bit-vector format that supports hamming distance and storing vectors in an HNSW graph
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
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.backward_codecs.lucene90
Subclasses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene90Modifier and TypeClassDescriptionfinal classReads vectors from the index segments along with index data structures supporting KNN search.Methods in org.apache.lucene.backward_codecs.lucene90 that return KnnVectorsReader -
Uses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene91
Subclasses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene91Modifier and TypeClassDescriptionfinal classReads vectors from the index segments along with index data structures supporting KNN search.Methods in org.apache.lucene.backward_codecs.lucene91 that return KnnVectorsReader -
Uses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene92
Subclasses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene92Modifier and TypeClassDescriptionfinal classReads vectors from the index segments along with index data structures supporting KNN search.Methods in org.apache.lucene.backward_codecs.lucene92 that return KnnVectorsReader -
Uses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene94
Subclasses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene94Modifier and TypeClassDescriptionfinal classReads vectors from the index segments along with index data structures supporting KNN search.Methods in org.apache.lucene.backward_codecs.lucene94 that return KnnVectorsReader -
Uses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene95
Subclasses of KnnVectorsReader in org.apache.lucene.backward_codecs.lucene95Modifier and TypeClassDescriptionfinal classReads vectors from the index segments along with index data structures supporting KNN search.Methods in org.apache.lucene.backward_codecs.lucene95 that return KnnVectorsReader -
Uses of KnnVectorsReader in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return KnnVectorsReaderModifier and TypeMethodDescriptionabstract KnnVectorsReaderKnnVectorsFormat.fieldsReader(SegmentReadState state) Returns aKnnVectorsReaderto read the vectors from the index.KnnVectorsReader.getMergeInstance()Returns an instance optimized for merging. -
Uses of KnnVectorsReader in org.apache.lucene.codecs.bitvectors
Methods in org.apache.lucene.codecs.bitvectors that return KnnVectorsReader -
Uses of KnnVectorsReader in org.apache.lucene.codecs.lucene99
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.lucene99Modifier and TypeClassDescriptionfinal classReads vectors from the index segments along with index data structures supporting KNN search.Methods in org.apache.lucene.codecs.lucene99 that return KnnVectorsReaderModifier and TypeMethodDescriptionLucene99HnswScalarQuantizedVectorsFormat.fieldsReader(SegmentReadState state) Lucene99HnswVectorsFormat.fieldsReader(SegmentReadState state) Methods in org.apache.lucene.codecs.lucene99 with parameters of type KnnVectorsReaderModifier and TypeMethodDescriptionprivate static QuantizedVectorsReaderLucene99ScalarQuantizedVectorsWriter.getQuantizedKnnVectorsReader(KnnVectorsReader vectorsReader, String fieldName) private static ScalarQuantizerLucene99ScalarQuantizedVectorsWriter.getQuantizedState(KnnVectorsReader vectorsReader, String fieldName) -
Uses of KnnVectorsReader in org.apache.lucene.codecs.perfield
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.perfieldModifier and TypeClassDescriptionstatic classVectorReader that can wrap multiple delegate readers, selected by field.Fields in org.apache.lucene.codecs.perfield with type parameters of type KnnVectorsReaderModifier and TypeFieldDescriptionprivate final Map<String, KnnVectorsReader> PerFieldKnnVectorsFormat.FieldsReader.fieldsMethods 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.codecs.simpletext
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.simpletextModifier and TypeClassDescriptionclassReads vector values from a simple text format.Methods in org.apache.lucene.codecs.simpletext that return KnnVectorsReaderModifier and TypeMethodDescriptionSimpleTextKnnVectorsFormat.fieldsReader(SegmentReadState state) -
Uses of KnnVectorsReader in org.apache.lucene.index
Subclasses of KnnVectorsReader in org.apache.lucene.indexModifier and TypeClassDescriptionprivate static classFields in org.apache.lucene.index declared as KnnVectorsReaderModifier and TypeFieldDescription(package private) final KnnVectorsReaderSegmentCoreReaders.knnVectorsReaderfinal KnnVectorsReader[]MergeState.knnVectorsReadersVector readers to mergeprivate final KnnVectorsReader[]SlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.readersMethods in org.apache.lucene.index that return KnnVectorsReaderModifier and TypeMethodDescriptionabstract KnnVectorsReaderCodecReader.getVectorReader()Expert: retrieve underlying VectorReaderFilterCodecReader.getVectorReader()SegmentReader.getVectorReader()SlowCompositeCodecReaderWrapper.getVectorReader()SortingCodecReader.getVectorReader()private static KnnVectorsReaderSlowCodecReaderWrapper.readerToVectorReader(LeafReader reader) 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 KnnVectorsReaderIncrementalHnswGraphMerger.initReaderMethods 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.