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.util.hnsw Navigable Small-World graph, nominally Hierarchical but currently only has a single layer. -
-
Uses of RandomAccessVectorValues in org.apache.lucene.codecs.lucene95
Classes in org.apache.lucene.codecs.lucene95 that implement RandomAccessVectorValues Modifier and Type Class Description class
OffHeapByteVectorValues
Read the vector values from the index input.static class
OffHeapByteVectorValues.DenseOffHeapVectorValues
Dense vector values that are stored off-heap.class
OffHeapFloatVectorValues
Read the vector values from the index input.static class
OffHeapFloatVectorValues.DenseOffHeapVectorValues
Dense 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.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 RandomVectorScorer
RandomVectorScorer. createBytes(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction, byte[] query)
Creates a default scorer for byte vectors.static RandomVectorScorerSupplier
RandomVectorScorerSupplier. createBytes(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction)
Creates aRandomVectorScorerSupplier
to compare byte vectors.static RandomVectorScorer
RandomVectorScorer. createFloats(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction, float[] query)
Creates a default scorer for float vectors.static RandomVectorScorerSupplier
RandomVectorScorerSupplier. createFloats(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction)
Creates aRandomVectorScorerSupplier
to 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.
-