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 classRead the vector values from the index input.Fields in org.apache.lucene.backward_codecs.lucene90 declared as RandomAccessVectorValuesModifier and TypeFieldDescriptionprivate RandomAccessVectorValuesLucene90HnswGraphBuilder.buildVectorsprivate final RandomAccessVectorValuesLucene90HnswGraphBuilder.vectorValuesMethods 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 booleanLucene90HnswGraphBuilder.diversityCheck(float[] candidate, float score, Lucene90NeighborArray neighbors, RandomAccessVectorValues vectorValues) static NeighborQueueLucene90OnHeapHnswGraph.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 classRead 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) classRead the vector values from the index input.(package private) static classprivate static classprivate static classMethods 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) classRead the vector values from the index input.(package private) static classprivate static classprivate static classMethods 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 classMethods 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 classFields in org.apache.lucene.index declared as RandomAccessVectorValuesModifier and TypeFieldDescriptionprivate final RandomAccessVectorValuesVectorValues.SortingVectorValues.randomAccessMethods 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 RandomAccessVectorValuesHnswGraphBuilder.vectorsprivate final RandomAccessVectorValuesHnswGraphBuilder.vectorsCopyMethods in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionvoidHnswGraphBuilder.addGraphNode(int node, RandomAccessVectorValues values) private voidHnswGraphBuilder.addVectors(RandomAccessVectorValues vectorsToAdd) HnswGraphBuilder.build(RandomAccessVectorValues vectorsToAdd) Reads all the vectors from two copies of a random access VectorValues.private floatHnswGraphSearcher.compare(T query, RandomAccessVectorValues vectors, int ord) static HnswGraphBuilder<?>HnswGraphBuilder.create(RandomAccessVectorValues vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, int beamWidth, long seed) private THnswGraphBuilder.getValue(int node, RandomAccessVectorValues values) static NeighborQueueHnswGraphSearcher.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 NeighborQueueHnswGraphSearcher.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 NeighborQueueHnswGraphSearcher.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 RandomAccessVectorValuesModifierConstructorDescriptionprivateHnswGraphBuilder(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.