Uses of Class
org.apache.lucene.index.KnnVectorValues
Packages that use KnnVectorValues
Package
Description
Analysis components for Synonyms using Word2Vec model.
Lucene 9.0 file format.
Lucene 9.1 file format.
Lucene 9.2 file format.
Lucene 9.4 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.5 file format.
Lucene 9.9 file format.
Simpletext Codec: writes human readable postings.
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
This package implements KMeans algorithm for clustering vectors
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Uses of KnnVectorValues in org.apache.lucene.analysis.synonym.word2vec
Subclasses of KnnVectorValues in org.apache.lucene.analysis.synonym.word2vecModifier and TypeClassDescriptionclassWord2VecModel is a class representing the parsed Word2Vec model containing the vectors for each word in dictionary -
Uses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene90
Subclasses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene90Modifier and TypeClassDescription(package private) static classRead the vector values from the index input. -
Uses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene91
Subclasses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene91Modifier and TypeClassDescription(package private) static classRead the vector values from the index input. -
Uses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene92
Subclasses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene92Modifier and TypeClassDescription(package private) classRead the vector values from the index input.(package private) static classprivate static classprivate static class -
Uses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene94
Subclasses of KnnVectorValues in org.apache.lucene.backward_codecs.lucene94Modifier and TypeClassDescription(package private) classRead the vector values from the index input.(package private) static classprivate static classprivate static class(package private) classRead the vector values from the index input.(package private) static classprivate static classprivate static class -
Uses of KnnVectorValues in org.apache.lucene.codecs
Subclasses of KnnVectorValues in org.apache.lucene.codecsModifier and TypeClassDescriptionprivate static classprivate static classprivate static classSorting ByteVectorValues that iterate over documents in the order of the provided sortMapprivate static classSorting FloatVectorValues that iterate over documents in the order of the provided sortMap(package private) static class(package private) static class -
Uses of KnnVectorValues in org.apache.lucene.codecs.bitvectors
Methods in org.apache.lucene.codecs.bitvectors with parameters of type KnnVectorValuesModifier and TypeMethodDescriptionFlatBitVectorsScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, byte[] target) FlatBitVectorsScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, float[] target) FlatBitVectorsScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) -
Uses of KnnVectorValues in org.apache.lucene.codecs.hnsw
Methods in org.apache.lucene.codecs.hnsw with parameters of type KnnVectorValuesModifier and TypeMethodDescriptionDefaultFlatVectorScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, byte[] target) DefaultFlatVectorScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, float[] target) FlatVectorsScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, byte[] target) Returns aRandomVectorScorerfor the given set of vectors and target vector.FlatVectorsScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, float[] target) Returns aRandomVectorScorerfor the given set of vectors and target vector.ScalarQuantizedVectorScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, byte[] target) ScalarQuantizedVectorScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, float[] target) DefaultFlatVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) FlatVectorsScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) Returns aRandomVectorScorerSupplierthat can be used to score vectorsScalarQuantizedVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) -
Uses of KnnVectorValues in org.apache.lucene.codecs.lucene95
Subclasses of KnnVectorValues in org.apache.lucene.codecs.lucene95Modifier and TypeClassDescriptionclassRead the vector values from the index input.static classDense vector values that are stored off-heap.private static classprivate static classclassRead the vector values from the index input.static classDense vector values that are stored off-heap.private static classprivate static class -
Uses of KnnVectorValues in org.apache.lucene.codecs.lucene99
Subclasses of KnnVectorValues in org.apache.lucene.codecs.lucene99Modifier and TypeClassDescriptionprivate static final class(package private) static class(package private) static classReturns a merged view over all the segment'sQuantizedByteVectorValues.(package private) static final class(package private) static final class(package private) static classclassRead the quantized vector values and their score correction values from the index input.static classDense vector values that are stored off-heap.private static classprivate static classMethods in org.apache.lucene.codecs.lucene99 with parameters of type KnnVectorValuesModifier and TypeMethodDescriptionLucene99ScalarQuantizedVectorScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, byte[] target) Lucene99ScalarQuantizedVectorScorer.getRandomVectorScorer(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues, float[] target) Lucene99ScalarQuantizedVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) -
Uses of KnnVectorValues in org.apache.lucene.codecs.simpletext
Subclasses of KnnVectorValues in org.apache.lucene.codecs.simpletextModifier and TypeClassDescriptionprivate static classprivate static class -
Uses of KnnVectorValues in org.apache.lucene.index
Classes in org.apache.lucene.index with type parameters of type KnnVectorValuesModifier and TypeClassDescriptionprivate static final recordprivate static classSubclasses of KnnVectorValues in org.apache.lucene.indexModifier and TypeClassDescriptionclassThis class provides access to per-document floating point vector values indexed asKnnByteVectorField.private classprivate classclassThis class provides access to per-document floating point vector values indexed asKnnFloatVectorField.(package private) class(package private) classprivate static classprivate static classSorting FloatVectorValues that maps ordinals using the provided sortMapFields in org.apache.lucene.index declared as KnnVectorValuesModifier and TypeFieldDescriptionprivate final TSlowCompositeCodecReaderWrapper.DocValuesSub.subThe field for thesubrecord component.Methods in org.apache.lucene.index that return KnnVectorValuesModifier and TypeMethodDescriptionabstract KnnVectorValuesKnnVectorValues.copy()Creates a new copy of thisKnnVectorValues.Methods in org.apache.lucene.index with parameters of type KnnVectorValuesModifier and TypeMethodDescriptionSortingCodecReader.iteratorSupplier(KnnVectorValues values, Sorter.DocMap docMap) Creates a factory for SortingValuesIterator. -
Uses of KnnVectorValues in org.apache.lucene.index.memory
Subclasses of KnnVectorValues in org.apache.lucene.index.memoryModifier and TypeClassDescriptionprivate static final classprivate static final class -
Uses of KnnVectorValues in org.apache.lucene.sandbox.codecs.quantization
Subclasses of KnnVectorValues in org.apache.lucene.sandbox.codecs.quantizationModifier and TypeClassDescriptionclassA reader of vector values that samples a subset of the vectors. -
Uses of KnnVectorValues in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as KnnVectorValuesModifier and TypeFieldDescriptionprivate final KnnVectorValuesRandomVectorScorer.AbstractRandomVectorScorer.valuesMethods in org.apache.lucene.util.hnsw with parameters of type KnnVectorValuesModifier and TypeMethodDescriptionprotected HnswBuilderConcurrentHnswMerger.createBuilder(KnnVectorValues mergedVectorValues, int maxOrd) protected HnswBuilderIncrementalHnswGraphMerger.createBuilder(KnnVectorValues mergedVectorValues, int maxOrd) Builds a new HnswGraphBuilder using the biggest graph from the merge state as a starting point.protected final int[]IncrementalHnswGraphMerger.getNewOrdMapping(KnnVectorValues mergedVectorValues, BitSet initializedNodes) Creates a new mapping from old ordinals to new ordinals and returns the total number of vectors in the newly merged segment.HnswGraphMerger.merge(KnnVectorValues mergedVectorValues, InfoStream infoStream, int maxOrd) Merge and produce the on heap graphIncrementalHnswGraphMerger.merge(KnnVectorValues mergedVectorValues, InfoStream infoStream, int maxOrd) Constructors in org.apache.lucene.util.hnsw with parameters of type KnnVectorValuesModifierConstructorDescriptionCreates a new scorer for the given vector values. -
Uses of KnnVectorValues in org.apache.lucene.util.quantization
Subclasses of KnnVectorValues in org.apache.lucene.util.quantizationModifier and TypeClassDescriptionclassA version ofByteVectorValues, but additionally retrieving score correction offset for Scalar quantization scores.