Uses of Class
org.apache.lucene.util.hnsw.NeighborQueue
-
Packages that use NeighborQueue Package Description org.apache.lucene.backward_codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.search Code to search indices.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.backward_codecs.lucene90
Methods in org.apache.lucene.backward_codecs.lucene90 that return NeighborQueue Modifier and Type Method Description static NeighborQueue
Lucene90OnHeapHnswGraph. search(float[] query, int topK, int numSeed, RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction, HnswGraph graphValues, Bits acceptOrds, long visitedLimit, java.util.SplittableRandom random)
Searches for the nearest neighbors of a query vector.Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type NeighborQueue Modifier and Type Method Description private void
Lucene90HnswGraphBuilder. addDiverseNeighbors(int node, NeighborQueue candidates)
private void
Lucene90HnswGraphBuilder. popToScratch(NeighborQueue candidates)
-
Uses of NeighborQueue in org.apache.lucene.search
Fields in org.apache.lucene.search declared as NeighborQueue Modifier and Type Field Description private NeighborQueue
TopKnnCollector. queue
-
Uses of NeighborQueue in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as NeighborQueue Modifier and Type Field Description private NeighborQueue
HnswGraphSearcher. candidates
Scratch data structures that are used in eachHnswGraphSearcher.searchLevel(org.apache.lucene.util.hnsw.RandomVectorScorer, int, int, int[], org.apache.lucene.util.hnsw.HnswGraph)
call.private NeighborQueue
HnswGraphBuilder.GraphBuilderKnnCollector. queue
Constructors in org.apache.lucene.util.hnsw with parameters of type NeighborQueue Constructor Description HnswGraphSearcher(NeighborQueue candidates, BitSet visited)
Creates a new graph searcher.MergeSearcher(NeighborQueue candidates, BitSet visited)
OnHeapHnswGraphSearcher(NeighborQueue candidates, BitSet visited)
-