Uses of Class
org.apache.lucene.util.hnsw.NeighborArray
-
Packages that use NeighborArray Package Description org.apache.lucene.util.hnsw Navigable Small-World graph, nominally Hierarchical but currently only has a single layer. -
-
Uses of NeighborArray in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as NeighborArray Modifier and Type Field Description private NeighborArray
OnHeapHnswGraph. cur
private NeighborArray
HnswGraphBuilder. scratch
Fields in org.apache.lucene.util.hnsw with type parameters of type NeighborArray Modifier and Type Field Description private java.util.List<java.util.List<NeighborArray>>
OnHeapHnswGraph. graph
Methods in org.apache.lucene.util.hnsw that return NeighborArray Modifier and Type Method Description NeighborArray
OnHeapHnswGraph. getNeighbors(int level, int node)
Returns theNeighborQueue
connected to the given node.Methods in org.apache.lucene.util.hnsw with parameters of type NeighborArray Modifier and Type Method Description private boolean
HnswGraphBuilder. diversityCheck(float[] candidate, float score, NeighborArray neighbors, RandomAccessVectorValues vectorValues)
private int
HnswGraphBuilder. findWorstNonDiverse(NeighborArray neighbors)
Find first non-diverse neighbour among the list of neighbors starting from the most distant neighboursprivate void
HnswGraphBuilder. selectAndLinkDiverse(NeighborArray neighbors, NeighborArray candidates, int maxConnOnLevel)
-