## 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
    --- | --- | ---
    `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.codecs.lucene99

    Classes in org.apache.lucene.codecs.lucene99 that implement RandomAccessVectorValues
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `OffHeapQuantizedByteVectorValues` | Read the quantized vector values and their score correction values from the index input.
    `static class` | `OffHeapQuantizedByteVectorValues.DenseOffHeapVectorValues` | Dense 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 this `RandomAccessVectorValues`.

    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 a `RandomVectorScorerSupplier` 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 a `RandomVectorScorerSupplier` 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.

  - ### Uses of RandomAccessVectorValues in org.apache.lucene.util.quantization

    Subinterfaces of RandomAccessVectorValues in org.apache.lucene.util.quantization
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `RandomAccessQuantizedByteVectorValues` | Random access values for `byte[]`, but also includes accessing the score correction constant for the current vector in the buffer.