Uses of Class
org.apache.lucene.util.hnsw.HnswLock
Packages that use HnswLock
Package
Description
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of HnswLock in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as HnswLockModifier and TypeFieldDescriptionprivate final HnswLock
HnswConcurrentMergeBuilder.hnswLock
private final HnswLock
HnswConcurrentMergeBuilder.MergeSearcher.hnswLock
protected final HnswLock
HnswGraphBuilder.hnswLock
Constructors in org.apache.lucene.util.hnsw with parameters of type HnswLockModifierConstructorDescriptionprivate
ConcurrentMergeWorker
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw, HnswLock hnswLock, BitSet initializedNodes, AtomicInteger workProgress) protected
HnswGraphBuilder
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph 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.private
MergeSearcher
(NeighborQueue candidates, HnswLock hnswLock, BitSet visited)