Uses of Interface
org.apache.lucene.util.hnsw.RandomAccessVectorValues
Packages that use RandomAccessVectorValues
Package
Description
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.
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.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 final RandomAccessVectorValues<float[]>Lucene90HnswGraphBuilder.buildVectorsprivate final RandomAccessVectorValues<float[]>Lucene90HnswGraphBuilder.vectorValuesMethods 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 booleanLucene90HnswGraphBuilder.diversityCheck(float[] candidate, float score, Lucene90NeighborArray neighbors, RandomAccessVectorValues<float[]> vectorValues) static NeighborQueueLucene90OnHeapHnswGraph.search(float[] query, int topK, int numSeed, RandomAccessVectorValues<float[]> 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<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 classRead 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) 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 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) 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 classMethods 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 TypeClassDescriptionprivate static class(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 classMethods in org.apache.lucene.codecs.lucene95 that return RandomAccessVectorValuesModifier and TypeMethodDescriptionLucene95HnswVectorsWriter.RAVectorValues.copy()RandomAccessVectorValues<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.simpletext
Classes in org.apache.lucene.codecs.simpletext that implement RandomAccessVectorValuesModifier and TypeClassDescriptionprivate static classprivate static classMethods 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>HnswGraphBuilder.vectorsprivate final RandomAccessVectorValues<T>HnswGraphBuilder.vectorsCopyMethods 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 TypeMethodDescriptionvoidHnswGraphBuilder.addGraphNode(int node, RandomAccessVectorValues<T> values) private voidHnswGraphBuilder.addVectors(RandomAccessVectorValues<T> vectorsToAdd) HnswGraphBuilder.build(RandomAccessVectorValues<T> vectorsToAdd) Reads all the vectors from two copies of aRandomAccessVectorValues.private floatHnswGraphSearcher.compare(T query, RandomAccessVectorValues<T> vectors, int ord) static <T> HnswGraphBuilder<T>HnswGraphBuilder.create(RandomAccessVectorValues<T> vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, int beamWidth, long seed) static NeighborQueueHnswGraphSearcher.search(byte[] query, int topK, RandomAccessVectorValues<byte[]> vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, HnswGraph graph, Bits acceptOrds, int visitedLimit) Searches HNSW graph for the nearest neighbors of a query vector.static NeighborQueueHnswGraphSearcher.search(float[] query, int topK, RandomAccessVectorValues<float[]> vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, HnswGraph graph, Bits acceptOrds, int visitedLimit) Searches HNSW graph for the nearest neighbors of a query vector.HnswGraphSearcher.searchLevel(T query, int topK, int level, int[] eps, RandomAccessVectorValues<T> 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<T> vectors, HnswGraph graph, Bits acceptOrds, int visitedLimit) Constructors in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifierConstructorDescriptionprivateHnswGraphBuilder(RandomAccessVectorValues<T> vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, 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.