Uses of Interface
org.apache.lucene.index.RandomAccessVectorValues
Packages that use RandomAccessVectorValues
Package
Description
Lucene 9.0 file format.
Lucene 9.1 file format.
Lucene 9.2 file format.
Lucene 9.3 file format.
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 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 RandomAccessVectorValues
Lucene90HnswGraphBuilder.buildVectors
private final RandomAccessVectorValues
Lucene90HnswGraphBuilder.vectorValues
Methods in org.apache.lucene.backward_codecs.lucene90 that return RandomAccessVectorValuesMethods in org.apache.lucene.backward_codecs.lucene90 with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionLucene90HnswGraphBuilder.build
(RandomAccessVectorValues vectors) Reads all the vectors from two copies of a random access VectorValues.private boolean
Lucene90HnswGraphBuilder.diversityCheck
(float[] candidate, float score, Lucene90NeighborArray neighbors, RandomAccessVectorValues vectorValues) static NeighborQueue
Lucene90OnHeapHnswGraph.search
(float[] query, int topK, int numSeed, RandomAccessVectorValues vectors, VectorSimilarityFunction similarityFunction, HnswGraph graphValues, Bits acceptOrds, int 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 vectors, VectorSimilarityFunction similarityFunction, int maxConn, int beamWidth, long seed) Reads all the vectors from a VectorValues, 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 RandomAccessVectorValues -
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 RandomAccessVectorValues -
Uses of RandomAccessVectorValues in org.apache.lucene.codecs.lucene94
Classes in org.apache.lucene.codecs.lucene94 that implement RandomAccessVectorValuesModifier and TypeClassDescriptionprivate 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.codecs.lucene94 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
Methods in org.apache.lucene.codecs.simpletext that return RandomAccessVectorValues -
Uses of RandomAccessVectorValues in org.apache.lucene.index
Classes in org.apache.lucene.index that implement RandomAccessVectorValuesModifier and TypeClassDescriptionprivate static class
Fields in org.apache.lucene.index declared as RandomAccessVectorValuesModifier and TypeFieldDescriptionprivate final RandomAccessVectorValues
VectorValues.SortingVectorValues.randomAccess
Methods in org.apache.lucene.index that return RandomAccessVectorValuesModifier and TypeMethodDescriptionBufferingKnnVectorsWriter.BufferedVectorValues.copy()
RandomAccessVectorValues.copy()
Creates a new copy of thisRandomAccessVectorValues
. -
Uses of RandomAccessVectorValues in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as RandomAccessVectorValuesModifier and TypeFieldDescriptionprivate final RandomAccessVectorValues
HnswGraphBuilder.vectors
private final RandomAccessVectorValues
HnswGraphBuilder.vectorsCopy
Methods in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionvoid
HnswGraphBuilder.addGraphNode
(int node, RandomAccessVectorValues values) private void
HnswGraphBuilder.addVectors
(RandomAccessVectorValues vectorsToAdd) HnswGraphBuilder.build
(RandomAccessVectorValues vectorsToAdd) Reads all the vectors from two copies of a random access VectorValues.private float
HnswGraphSearcher.compare
(T query, RandomAccessVectorValues vectors, int ord) static HnswGraphBuilder<?>
HnswGraphBuilder.create
(RandomAccessVectorValues vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, int beamWidth, long seed) private T
HnswGraphBuilder.getValue
(int node, RandomAccessVectorValues values) static NeighborQueue
HnswGraphSearcher.search
(float[] query, int topK, RandomAccessVectorValues vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, HnswGraph graph, Bits acceptOrds, int visitedLimit) Searches HNSW graph for the nearest neighbors of a query vector.private static NeighborQueue
HnswGraphSearcher.search
(BytesRef query, int topK, RandomAccessVectorValues vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, HnswGraph graph, Bits acceptOrds, int visitedLimit) HnswGraphSearcher.searchLevel
(T query, int topK, int level, int[] eps, RandomAccessVectorValues vectors, HnswGraph graph) Searches for the nearest neighbors of a query vector in a given level.private NeighborQueue
HnswGraphSearcher.searchLevel
(T query, int topK, int level, int[] eps, RandomAccessVectorValues vectors, HnswGraph graph, Bits acceptOrds, int visitedLimit) Constructors in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifierConstructorDescriptionprivate
HnswGraphBuilder
(RandomAccessVectorValues vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, int beamWidth, long seed) Reads all the vectors from a VectorValues, builds a graph connecting them by their dense ordinals, using the given hyperparameter settings, and returns the resulting graph.