Uses of Interface
org.apache.lucene.util.hnsw.UpdateableRandomVectorScorer
Packages that use UpdateableRandomVectorScorer
Package
Description
HNSW vector helper classes.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of UpdateableRandomVectorScorer in org.apache.lucene.codecs.hnsw
Methods in org.apache.lucene.codecs.hnsw that return UpdateableRandomVectorScorerModifier and TypeMethodDescriptionScalarQuantizedVectorScorer.ScalarQuantizedRandomVectorScorerSupplier.scorer() -
Uses of UpdateableRandomVectorScorer in org.apache.lucene.util.hnsw
Classes in org.apache.lucene.util.hnsw that implement UpdateableRandomVectorScorerModifier and TypeClassDescriptionstatic classCreates a default scorer for random access vectors.Methods in org.apache.lucene.util.hnsw that return UpdateableRandomVectorScorerModifier and TypeMethodDescriptionRandomVectorScorerSupplier.scorer()This creates aUpdateableRandomVectorScorerfor scoring random nodes in batches against an ordinal.Methods in org.apache.lucene.util.hnsw with parameters of type UpdateableRandomVectorScorerModifier and TypeMethodDescriptionvoidNeighborArray.addAndEnsureDiversity(int newNode, float newScore, int nodeId, UpdateableRandomVectorScorer scorer) In addition toNeighborArray.addOutOfOrder(int, float), this function will also remove the least-diverse node if the node array is full after insertionvoidHnswGraphBuilder.addGraphNode(int node, UpdateableRandomVectorScorer scorer) voidInitializedHnswGraphBuilder.addGraphNode(int node, UpdateableRandomVectorScorer scorer)