Uses of Class
org.apache.lucene.util.hnsw.HnswGraphSearcher
Packages that use HnswGraphSearcher
Package
Description
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of HnswGraphSearcher in org.apache.lucene.util.hnsw
Subclasses of HnswGraphSearcher in org.apache.lucene.util.hnswModifier and TypeClassDescriptionclass
Searches an HNSW graph to find nearest neighbors to a query vector.Constructors in org.apache.lucene.util.hnsw with parameters of type HnswGraphSearcherModifierConstructorDescriptionprotected
HnswGraphBuilder
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw, org.apache.lucene.util.hnsw.HnswLock hnswLock, HnswGraphSearcher graphSearcher) Reads all the vectors from vector values, builds a graph connecting them by their dense ordinals, using the given hyperparameter settings, and returns the resulting graph.