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 TypeClassDescriptionclassWord2VecModel 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 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, 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 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 TypeClassDescriptionclassRead the vector values from the index input.static classDense vector values that are stored off-heap.private static classprivate static classclassRead the vector values from the index input.static classDense vector values that are stored off-heap.private static classprivate static classMethods 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) interfaceRandom 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) classRead the quantized vector values and their score correction values from the index input.(package private) static classprivate static classprivate static classMethods 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 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> RandomVectorScorer.AbstractRandomVectorScorer.valuesprivate final RandomAccessVectorValues<byte[]> RandomVectorScorerSupplier.ByteScoringSupplier.vectorsprivate final RandomAccessVectorValues<float[]> RandomVectorScorerSupplier.FloatScoringSupplier.vectorsprivate final RandomAccessVectorValues<byte[]> RandomVectorScorerSupplier.ByteScoringSupplier.vectors1private final RandomAccessVectorValues<float[]> RandomVectorScorerSupplier.FloatScoringSupplier.vectors1private final RandomAccessVectorValues<byte[]> RandomVectorScorerSupplier.ByteScoringSupplier.vectors2private final RandomAccessVectorValues<float[]> RandomVectorScorerSupplier.FloatScoringSupplier.vectors2Methods 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 RandomVectorScorerRandomVectorScorer.createBytes(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction, byte[] query) Creates a default scorer for byte vectors.static RandomVectorScorerSupplierRandomVectorScorerSupplier.createBytes(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplierto compare byte vectors.static RandomVectorScorerRandomVectorScorer.createFloats(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction, float[] query) Creates a default scorer for float vectors.static RandomVectorScorerSupplierRandomVectorScorerSupplier.createFloats(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplierto compare float vectors.Constructors in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifierConstructorDescriptionCreates a new scorer for the given vector values.privateByteScoringSupplier(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction) privateFloatScoringSupplier(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction)