Uses of Interface
org.apache.lucene.util.hnsw.RandomAccessVectorValues
Packages that use RandomAccessVectorValues
Package
Description
Lucene 9.5 file format.
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 RandomAccessVectorValuesModifier and TypeClassDescriptionclass
Read the vector values from the index input.static class
Dense vector values that are stored off-heap.class
Read the vector values from the index input.static class
Dense vector values that are stored off-heap.Methods in org.apache.lucene.codecs.lucene95 that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues
<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 RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues.copy()
Creates a new copy of thisRandomAccessVectorValues
.Methods in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionstatic 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 RandomAccessVectorValuesModifierConstructorDescriptionCreates a new scorer for the given vector values.