Uses of Interface
org.apache.lucene.util.hnsw.RandomAccessVectorValues
Packages that use RandomAccessVectorValues
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.
Lucene 9.5 file format.
Lucene 9.9 file format.
Simpletext Codec: writes human readable postings.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of RandomAccessVectorValues in org.apache.lucene.analysis.synonym.word2vec
Classes in org.apache.lucene.analysis.synonym.word2vec that implement RandomAccessVectorValuesModifier and TypeClassDescriptionclass
Word2VecModel is a class representing the parsed Word2Vec model containing the vectors for each word in dictionaryMethods in org.apache.lucene.analysis.synonym.word2vec that return RandomAccessVectorValues -
Uses of RandomAccessVectorValues in org.apache.lucene.backward_codecs.lucene90
Classes in org.apache.lucene.backward_codecs.lucene90 that implement RandomAccessVectorValuesModifier and TypeClassDescription(package private) static class
Read the vector values from the index input.Fields in org.apache.lucene.backward_codecs.lucene90 declared as RandomAccessVectorValuesModifier and TypeFieldDescriptionprivate final RandomAccessVectorValues<float[]>
Lucene90HnswGraphBuilder.buildVectors
private final RandomAccessVectorValues<float[]>
Lucene90HnswGraphBuilder.vectorValues
Methods in org.apache.lucene.backward_codecs.lucene90 that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues<float[]>
Lucene90HnswVectorsReader.OffHeapFloatVectorValues.copy()
Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionLucene90HnswGraphBuilder.build
(RandomAccessVectorValues<float[]> vectors) Reads all the vectors from two copies of aRandomAccessVectorValues
.private boolean
Lucene90HnswGraphBuilder.diversityCheck
(float[] candidate, float score, Lucene90NeighborArray neighbors, RandomAccessVectorValues<float[]> vectorValues) static NeighborQueue
Lucene90OnHeapHnswGraph.search
(float[] query, int topK, int numSeed, RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction, HnswGraph graphValues, Bits acceptOrds, long visitedLimit, SplittableRandom random) Searches for the nearest neighbors of a query vector.Constructors in org.apache.lucene.backward_codecs.lucene90 with parameters of type RandomAccessVectorValuesModifierConstructorDescriptionLucene90HnswGraphBuilder
(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction, int maxConn, int beamWidth, long seed) Reads all the vectors from vector values, builds a graph connecting them by their dense ordinals, using the given hyperparameter settings, and returns the resulting graph. -
Uses of RandomAccessVectorValues in org.apache.lucene.backward_codecs.lucene91
Classes in org.apache.lucene.backward_codecs.lucene91 that implement RandomAccessVectorValuesModifier and TypeClassDescription(package private) static class
Read the vector values from the index input.Methods in org.apache.lucene.backward_codecs.lucene91 that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues<float[]>
Lucene91HnswVectorsReader.OffHeapFloatVectorValues.copy()
-
Uses of RandomAccessVectorValues in org.apache.lucene.backward_codecs.lucene92
Classes in org.apache.lucene.backward_codecs.lucene92 that implement RandomAccessVectorValuesModifier and TypeClassDescription(package private) class
Read the vector values from the index input.(package private) static class
private static class
private static class
Methods in org.apache.lucene.backward_codecs.lucene92 that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.DenseOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.EmptyOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.SparseOffHeapVectorValues.copy()
-
Uses of RandomAccessVectorValues in org.apache.lucene.backward_codecs.lucene94
Classes in org.apache.lucene.backward_codecs.lucene94 that implement RandomAccessVectorValuesModifier and TypeClassDescription(package private) class
Read the vector values from the index input.(package private) static class
private static class
private static class
(package private) class
Read the vector values from the index input.(package private) static class
private static class
private static class
Methods in org.apache.lucene.backward_codecs.lucene94 that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues<byte[]>
OffHeapByteVectorValues.DenseOffHeapVectorValues.copy()
RandomAccessVectorValues<byte[]>
OffHeapByteVectorValues.EmptyOffHeapVectorValues.copy()
RandomAccessVectorValues<byte[]>
OffHeapByteVectorValues.SparseOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.DenseOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.EmptyOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.SparseOffHeapVectorValues.copy()
-
Uses of RandomAccessVectorValues in org.apache.lucene.codecs.lucene95
Classes in org.apache.lucene.codecs.lucene95 that implement RandomAccessVectorValuesModifier and TypeClassDescriptionclass
Read the vector values from the index input.static class
Dense vector values that are stored off-heap.private static class
private static class
class
Read the vector values from the index input.static class
Dense vector values that are stored off-heap.private static class
private static class
Methods in org.apache.lucene.codecs.lucene95 that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues<byte[]>
OffHeapByteVectorValues.DenseOffHeapVectorValues.copy()
RandomAccessVectorValues<byte[]>
OffHeapByteVectorValues.EmptyOffHeapVectorValues.copy()
RandomAccessVectorValues<byte[]>
OffHeapByteVectorValues.SparseOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.DenseOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.EmptyOffHeapVectorValues.copy()
RandomAccessVectorValues<float[]>
OffHeapFloatVectorValues.SparseOffHeapVectorValues.copy()
-
Uses of RandomAccessVectorValues in org.apache.lucene.codecs.lucene99
Subinterfaces of RandomAccessVectorValues in org.apache.lucene.codecs.lucene99Modifier and TypeInterfaceDescription(package private) interface
Random access values forbyte[]
, but also includes accessing the score correction constant for the current vector in the buffer.Classes in org.apache.lucene.codecs.lucene99 that implement RandomAccessVectorValuesModifier and TypeClassDescriptionprivate static class
(package private) class
Read the quantized vector values and their score correction values from the index input.(package private) static class
private static class
private static class
Methods in org.apache.lucene.codecs.lucene99 that return RandomAccessVectorValues -
Uses of RandomAccessVectorValues in org.apache.lucene.codecs.simpletext
Classes in org.apache.lucene.codecs.simpletext that implement RandomAccessVectorValuesModifier and TypeClassDescriptionprivate static class
private static class
Methods in org.apache.lucene.codecs.simpletext that return RandomAccessVectorValuesModifier and TypeMethodDescriptionSimpleTextKnnVectorsReader.SimpleTextByteVectorValues.copy()
RandomAccessVectorValues<float[]>
SimpleTextKnnVectorsReader.SimpleTextFloatVectorValues.copy()
-
Uses of RandomAccessVectorValues in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as RandomAccessVectorValuesModifier and TypeFieldDescriptionprivate final RandomAccessVectorValues<T>
RandomVectorScorer.AbstractRandomVectorScorer.values
private final RandomAccessVectorValues<byte[]>
RandomVectorScorerSupplier.ByteScoringSupplier.vectors
private final RandomAccessVectorValues<float[]>
RandomVectorScorerSupplier.FloatScoringSupplier.vectors
private final RandomAccessVectorValues<byte[]>
RandomVectorScorerSupplier.ByteScoringSupplier.vectors1
private final RandomAccessVectorValues<float[]>
RandomVectorScorerSupplier.FloatScoringSupplier.vectors1
private final RandomAccessVectorValues<byte[]>
RandomVectorScorerSupplier.ByteScoringSupplier.vectors2
private final RandomAccessVectorValues<float[]>
RandomVectorScorerSupplier.FloatScoringSupplier.vectors2
Methods in org.apache.lucene.util.hnsw that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues.copy()
Creates a new copy of thisRandomAccessVectorValues
.Methods in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionstatic RandomVectorScorer
RandomVectorScorer.createBytes
(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction, byte[] query) Creates a default scorer for byte vectors.static RandomVectorScorerSupplier
RandomVectorScorerSupplier.createBytes
(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplier
to compare byte vectors.static RandomVectorScorer
RandomVectorScorer.createFloats
(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction, float[] query) Creates a default scorer for float vectors.static RandomVectorScorerSupplier
RandomVectorScorerSupplier.createFloats
(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplier
to compare float vectors.Constructors in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifierConstructorDescriptionCreates a new scorer for the given vector values.private
ByteScoringSupplier
(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction) private
FloatScoringSupplier
(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction)