## Uses of Interface
org.apache.lucene.util.hnsw.RandomAccessVectorValues

- Packages that use RandomAccessVectorValues
  Package | Description
  --- | ---
  org.apache.lucene.codecs.hnsw | HNSW vector helper classes.
  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.hnsw

    Methods in org.apache.lucene.codecs.hnsw with parameters of type RandomAccessVectorValues
    Modifier and Type | Method | Description
    --- | --- | ---
    `RandomVectorScorer` | DefaultFlatVectorScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)` |
    `RandomVectorScorer` | DefaultFlatVectorScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)` |
    `RandomVectorScorer` | FlatVectorsScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)` | Returns a `RandomVectorScorer` for the given set of vectors and target vector.
    `RandomVectorScorer` | FlatVectorsScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)` | Returns a `RandomVectorScorer` for the given set of vectors and target vector.
    `RandomVectorScorer` | ScalarQuantizedVectorScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)` |
    `RandomVectorScorer` | ScalarQuantizedVectorScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)` |
    `RandomVectorScorerSupplier` | DefaultFlatVectorScorer.`getRandomVectorScorerSupplier​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues)` |
    `RandomVectorScorerSupplier` | FlatVectorsScorer.`getRandomVectorScorerSupplier​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues)` | Returns a `RandomVectorScorerSupplier` that can be used to score vectors
    `RandomVectorScorerSupplier` | ScalarQuantizedVectorScorer.`getRandomVectorScorerSupplier​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues)` |

  - ### 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.

  - ### 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.

    Methods in org.apache.lucene.codecs.lucene99 with parameters of type RandomAccessVectorValues
    Modifier and Type | Method | Description
    --- | --- | ---
    `RandomVectorScorer` | Lucene99ScalarQuantizedVectorScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)` |
    `RandomVectorScorer` | Lucene99ScalarQuantizedVectorScorer.`getRandomVectorScorer​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)` |
    `RandomVectorScorerSupplier` | Lucene99ScalarQuantizedVectorScorer.`getRandomVectorScorerSupplier​(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues)` |

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

    Subinterfaces of RandomAccessVectorValues in org.apache.lucene.util.hnsw
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static interface` | `RandomAccessVectorValues.Bytes` | Byte vector values.
    `static interface` | `RandomAccessVectorValues.Floats` | Float vector values.

    Methods in org.apache.lucene.util.hnsw that return RandomAccessVectorValues
    Modifier and Type | Method | Description
    --- | --- | ---
    `RandomAccessVectorValues` | RandomAccessVectorValues.`copy()` | Creates a new copy of this `RandomAccessVectorValues`.

    Constructors in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValues
    Constructor | Description
    --- | ---
    `AbstractRandomVectorScorer​(RandomAccessVectorValues 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.