Uses of Interface
org.apache.lucene.util.hnsw.RandomAccessVectorValues.Floats
Packages that use RandomAccessVectorValues.Floats
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.
HNSW vector helper classes.
Lucene 9.5 file format.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of RandomAccessVectorValues.Floats in org.apache.lucene.analysis.synonym.word2vec
Classes in org.apache.lucene.analysis.synonym.word2vec that implement RandomAccessVectorValues.FloatsModifier and TypeClassDescriptionclass
Word2VecModel is a class representing the parsed Word2Vec model containing the vectors for each word in dictionary -
Uses of RandomAccessVectorValues.Floats in org.apache.lucene.backward_codecs.lucene90
Classes in org.apache.lucene.backward_codecs.lucene90 that implement RandomAccessVectorValues.FloatsModifier and TypeClassDescription(package private) static class
Read the vector values from the index input.Fields in org.apache.lucene.backward_codecs.lucene90 declared as RandomAccessVectorValues.FloatsModifier and TypeFieldDescriptionprivate final RandomAccessVectorValues.Floats
Lucene90HnswGraphBuilder.buildVectors
private final RandomAccessVectorValues.Floats
Lucene90HnswGraphBuilder.vectorValues
Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type RandomAccessVectorValues.FloatsModifier and TypeMethodDescriptionLucene90HnswGraphBuilder.build
(RandomAccessVectorValues.Floats vectors) Reads all the vectors from two copies of aRandomAccessVectorValues
.private boolean
Lucene90HnswGraphBuilder.diversityCheck
(float[] candidate, float score, Lucene90NeighborArray neighbors, RandomAccessVectorValues.Floats vectorValues) static NeighborQueue
Lucene90OnHeapHnswGraph.search
(float[] query, int topK, int numSeed, RandomAccessVectorValues.Floats 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 RandomAccessVectorValues.FloatsModifierConstructorDescriptionLucene90HnswGraphBuilder
(RandomAccessVectorValues.Floats 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.Floats in org.apache.lucene.backward_codecs.lucene91
Classes in org.apache.lucene.backward_codecs.lucene91 that implement RandomAccessVectorValues.FloatsModifier and TypeClassDescription(package private) static class
Read the vector values from the index input. -
Uses of RandomAccessVectorValues.Floats in org.apache.lucene.backward_codecs.lucene92
Classes in org.apache.lucene.backward_codecs.lucene92 that implement RandomAccessVectorValues.FloatsModifier and TypeClassDescription(package private) class
Read the vector values from the index input.(package private) static class
private static class
private static class
-
Uses of RandomAccessVectorValues.Floats in org.apache.lucene.backward_codecs.lucene94
Classes in org.apache.lucene.backward_codecs.lucene94 that implement RandomAccessVectorValues.FloatsModifier and TypeClassDescription(package private) class
Read the vector values from the index input.(package private) static class
private static class
private static class
-
Uses of RandomAccessVectorValues.Floats in org.apache.lucene.codecs.hnsw
Fields in org.apache.lucene.codecs.hnsw declared as RandomAccessVectorValues.FloatsModifier and TypeFieldDescriptionprivate final RandomAccessVectorValues.Floats
DefaultFlatVectorScorer.FloatVectorScorer.values
private final RandomAccessVectorValues.Floats
DefaultFlatVectorScorer.FloatScoringSupplier.vectors
private final RandomAccessVectorValues.Floats
DefaultFlatVectorScorer.FloatScoringSupplier.vectors1
private final RandomAccessVectorValues.Floats
DefaultFlatVectorScorer.FloatScoringSupplier.vectors2
Constructors in org.apache.lucene.codecs.hnsw with parameters of type RandomAccessVectorValues.FloatsModifierConstructorDescriptionprivate
FloatScoringSupplier
(RandomAccessVectorValues.Floats vectors, VectorSimilarityFunction similarityFunction) FloatVectorScorer
(RandomAccessVectorValues.Floats values, float[] query, VectorSimilarityFunction similarityFunction) -
Uses of RandomAccessVectorValues.Floats in org.apache.lucene.codecs.lucene95
Classes in org.apache.lucene.codecs.lucene95 that implement RandomAccessVectorValues.FloatsModifier 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
-
Uses of RandomAccessVectorValues.Floats in org.apache.lucene.util.hnsw
Methods in org.apache.lucene.util.hnsw that return RandomAccessVectorValues.FloatsModifier and TypeMethodDescriptionRandomAccessVectorValues.Floats.copy()
RandomAccessVectorValues.fromFloats
(List<float[]> vectors, int dim) Creates aRandomAccessVectorValues.Floats
from a list of float arrays.