## Uses of Interface
org.apache.lucene.index.RandomAccessVectorValues

- Packages that use RandomAccessVectorValues
  Package | Description
  --- | ---
  org.apache.lucene.index | Code to maintain and access indices.
  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.index

    Methods in org.apache.lucene.index that return RandomAccessVectorValues
    Modifier and Type | Method | Description
    --- | --- | ---
    `RandomAccessVectorValues` | RandomAccessVectorValuesProducer.`randomAccess()` | Return a random access interface over this iterator's vectors.

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

    Methods in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValues
    Modifier and Type | Method | Description
    --- | --- | ---
    `OnHeapHnswGraph` | HnswGraphBuilder.`build​(RandomAccessVectorValues vectors)` | Reads all the vectors from two copies of a random access VectorValues.
    `static NeighborQueue` | HnswGraphSearcher.`search​(float[] query, int topK, RandomAccessVectorValues vectors, VectorSimilarityFunction similarityFunction, HnswGraph graph, Bits acceptOrds, int visitedLimit)` | Searches HNSW graph for the nearest neighbors of a query vector.
    `NeighborQueue` | HnswGraphSearcher.`searchLevel​(float[] query, int topK, int level, int[] eps, RandomAccessVectorValues vectors, HnswGraph graph)` | Searches for the nearest neighbors of a query vector in a given level.