Uses of Interface
org.apache.lucene.util.hnsw.RandomAccessVectorValues
-
Packages that use RandomAccessVectorValues Package Description org.apache.lucene.codecs.lucene95 Lucene 9.5 file format.org.apache.lucene.codecs.lucene99 Lucene 9.9 file format.org.apache.lucene.util.hnsw Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.org.apache.lucene.util.quantization Provides quantization methods for scaling vector values to smaller data types and possibly fewer dimensions -
-
Uses of RandomAccessVectorValues in org.apache.lucene.codecs.lucene95
Classes in org.apache.lucene.codecs.lucene95 that implement RandomAccessVectorValues Modifier and Type Class Description classOffHeapByteVectorValuesRead the vector values from the index input.static classOffHeapByteVectorValues.DenseOffHeapVectorValuesDense vector values that are stored off-heap.classOffHeapFloatVectorValuesRead the vector values from the index input.static classOffHeapFloatVectorValues.DenseOffHeapVectorValuesDense vector values that are stored off-heap.Methods in org.apache.lucene.codecs.lucene95 that return RandomAccessVectorValues Modifier and Type Method Description RandomAccessVectorValues<byte[]>OffHeapByteVectorValues.DenseOffHeapVectorValues. copy()RandomAccessVectorValues<float[]>OffHeapFloatVectorValues.DenseOffHeapVectorValues. copy() -
Uses of RandomAccessVectorValues in org.apache.lucene.codecs.lucene99
Classes in org.apache.lucene.codecs.lucene99 that implement RandomAccessVectorValues Modifier and Type Class Description classOffHeapQuantizedByteVectorValuesRead the quantized vector values and their score correction values from the index input.static classOffHeapQuantizedByteVectorValues.DenseOffHeapVectorValuesDense vector values that are stored off-heap. -
Uses of RandomAccessVectorValues in org.apache.lucene.util.hnsw
Methods in org.apache.lucene.util.hnsw that return RandomAccessVectorValues Modifier and Type Method Description RandomAccessVectorValues<T>RandomAccessVectorValues. copy()Creates a new copy of thisRandomAccessVectorValues.Methods in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValues Modifier and Type Method Description static 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 RandomAccessVectorValues Constructor Description AbstractRandomVectorScorer(RandomAccessVectorValues<T> values)Creates a new scorer for the given vector values. -
Uses of RandomAccessVectorValues in org.apache.lucene.util.quantization
Subinterfaces of RandomAccessVectorValues in org.apache.lucene.util.quantization Modifier and Type Interface Description interfaceRandomAccessQuantizedByteVectorValuesRandom access values forbyte[], but also includes accessing the score correction constant for the current vector in the buffer.
-