## Uses of Class
org.apache.lucene.util.hnsw.NeighborQueue

- Packages that use NeighborQueue
  Package | Description
  --- | ---
  org.apache.lucene.util.hnsw | Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.

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

    Methods in org.apache.lucene.util.hnsw that return NeighborQueue
    Modifier and Type | Method | Description
    --- | --- | ---
    `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.

    Constructors in org.apache.lucene.util.hnsw with parameters of type NeighborQueue
    Constructor | Description
    --- | ---
    `HnswGraphSearcher​(VectorSimilarityFunction similarityFunction, NeighborQueue candidates, BitSet visited)` | Creates a new graph searcher.