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 10.2 file format.
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 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.hnsw
Subclasses of KnnVectorsReader in org.apache.lucene.codecs.hnsw -
Uses of KnnVectorsReader in org.apache.lucene.codecs.lucene102
Methods in org.apache.lucene.codecs.lucene102 that return KnnVectorsReaderModifier and TypeMethodDescriptionLucene102HnswBinaryQuantizedVectorsFormat.fieldsReader(SegmentReadState state) -
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.final classReads vectors from the index segments along with index data structures supporting KNN search.final classReads 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() -
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.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.index
Fields in org.apache.lucene.index declared as KnnVectorsReaderModifier and TypeFieldDescriptionfinal KnnVectorsReader[]MergeState.knnVectorsReadersVector readers to mergeMethods in org.apache.lucene.index that return KnnVectorsReaderModifier and TypeMethodDescriptionabstract KnnVectorsReaderCodecReader.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
Methods in org.apache.lucene.util.hnsw that return KnnVectorsReaderModifier and TypeMethodDescriptionIncrementalHnswGraphMerger.GraphReader.reader()Returns the value of thereaderrecord component.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.Constructors in org.apache.lucene.util.hnsw with parameters of type KnnVectorsReaderModifierConstructorDescriptionprotectedGraphReader(KnnVectorsReader reader, MergeState.DocMap initDocMap, int graphSize) Creates an instance of aGraphReaderrecord class.