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
HNSW vector helper classes.
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 class
Reads 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 class
Reads 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 class
Reads 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 class
Reads 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 class
Reads 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 KnnVectorsReader
KnnVectorsFormat.fieldsReader
(SegmentReadState state) Returns aKnnVectorsReader
to read the vectors from the index.KnnVectorsReader.getMergeInstance()
Returns an instance optimized for merging.Methods in org.apache.lucene.codecs with parameters of type KnnVectorsReaderModifier and TypeMethodDescriptionprivate static <V,
S> List <S> KnnVectorsWriter.MergedVectorValues.mergeVectorValues
(KnnVectorsReader[] knnVectorsReaders, MergeState.DocMap[] docMaps, FieldInfo mergingField, FieldInfos[] sourceFieldInfos, IOFunction<KnnVectorsReader, V> valuesSupplier, BiFunction<MergeState.DocMap, V, S> newSub) Method parameters in org.apache.lucene.codecs with type arguments of type KnnVectorsReaderModifier and TypeMethodDescriptionprivate static <V,
S> List <S> KnnVectorsWriter.MergedVectorValues.mergeVectorValues
(KnnVectorsReader[] knnVectorsReaders, MergeState.DocMap[] docMaps, FieldInfo mergingField, FieldInfos[] sourceFieldInfos, IOFunction<KnnVectorsReader, V> valuesSupplier, BiFunction<MergeState.DocMap, V, S> newSub) -
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.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) Lucene99HnswVectorsReader.getMergeInstance()
Methods in org.apache.lucene.codecs.lucene99 with parameters of type KnnVectorsReaderModifier and TypeMethodDescriptionprivate static QuantizedVectorsReader
Lucene99ScalarQuantizedVectorsWriter.getQuantizedKnnVectorsReader
(KnnVectorsReader vectorsReader, String fieldName) private static ScalarQuantizer
Lucene99ScalarQuantizedVectorsWriter.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 class
VectorReader 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 IntObjectHashMap
<KnnVectorsReader> PerFieldKnnVectorsFormat.FieldsReader.fields
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 fieldPerFieldKnnVectorsFormat.FieldsReader.getMergeInstance()
-
Uses of KnnVectorsReader in org.apache.lucene.codecs.simpletext
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.simpletextModifier and TypeClassDescriptionclass
Reads 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 class
Fields in org.apache.lucene.index declared as KnnVectorsReaderModifier and TypeFieldDescription(package private) final KnnVectorsReader
SegmentCoreReaders.knnVectorsReader
final KnnVectorsReader[]
MergeState.knnVectorsReaders
Vector readers to mergeprivate final KnnVectorsReader[]
SlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.readers
Methods in org.apache.lucene.index that return KnnVectorsReaderModifier and TypeMethodDescriptionabstract KnnVectorsReader
CodecReader.getVectorReader()
Expert: retrieve underlying VectorReaderFilterCodecReader.getVectorReader()
SegmentReader.getVectorReader()
SlowCompositeCodecReaderWrapper.getVectorReader()
SortingCodecReader.getVectorReader()
private static KnnVectorsReader
SlowCodecReaderWrapper.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 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.