Uses of Class
org.apache.lucene.util.hnsw.HnswGraph
Package
Description
Lucene 9.1 file format.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of HnswGraph in org.apache.lucene.codecs.lucene91
-
Uses of HnswGraph in org.apache.lucene.util.hnsw
Modifier and TypeClassDescriptionfinal class
AnHnswGraph
where all nodes and connections are held in memory.Modifier and TypeMethodDescriptionstatic 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.