Uses of Interface
org.apache.lucene.util.hnsw.RandomVectorScorerSupplier
Packages that use RandomVectorScorerSupplier
Package
Description
Lucene 9.9 file format.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of RandomVectorScorerSupplier in org.apache.lucene.codecs.lucene99
Classes in org.apache.lucene.codecs.lucene99 that implement RandomVectorScorerSupplierModifier and TypeClassDescription(package private) static final class
(package private) static final class
(package private) final class
Quantized vector scorer supplierFields in org.apache.lucene.codecs.lucene99 declared as RandomVectorScorerSupplierModifier and TypeFieldDescriptionprivate final RandomVectorScorerSupplier
Lucene99FlatVectorsWriter.FlatCloseableRandomVectorScorerSupplier.supplier
Methods in org.apache.lucene.codecs.lucene99 that return RandomVectorScorerSupplierModifier and TypeMethodDescriptionLucene99FlatVectorsWriter.FlatCloseableRandomVectorScorerSupplier.copy()
Lucene99ScalarQuantizedVectorsWriter.ScalarQuantizedCloseableRandomVectorScorerSupplier.copy()
ScalarQuantizedRandomVectorScorerSupplier.copy()
Methods in org.apache.lucene.codecs.lucene99 with parameters of type RandomVectorScorerSupplierModifier and TypeMethodDescriptionprivate HnswGraphMerger
Lucene99HnswVectorsWriter.createGraphMerger
(FieldInfo fieldInfo, RandomVectorScorerSupplier scorerSupplier) Constructors in org.apache.lucene.codecs.lucene99 with parameters of type RandomVectorScorerSupplierModifierConstructorDescription(package private)
FlatCloseableRandomVectorScorerSupplier
(Closeable onClose, int numVectors, RandomVectorScorerSupplier supplier) -
Uses of RandomVectorScorerSupplier in org.apache.lucene.util.hnsw
Subinterfaces of RandomVectorScorerSupplier in org.apache.lucene.util.hnswModifier and TypeInterfaceDescriptioninterface
A supplier that createsRandomVectorScorer
from an ordinal.Classes in org.apache.lucene.util.hnsw that implement RandomVectorScorerSupplierModifier and TypeClassDescriptionstatic final class
RandomVectorScorerSupplier for bytes vectorstatic final class
RandomVectorScorerSupplier for Float vectorFields in org.apache.lucene.util.hnsw declared as RandomVectorScorerSupplierModifier and TypeFieldDescriptionprivate final RandomVectorScorerSupplier
HnswGraphBuilder.scorerSupplier
protected final RandomVectorScorerSupplier
IncrementalHnswGraphMerger.scorerSupplier
Methods in org.apache.lucene.util.hnsw that return RandomVectorScorerSupplierModifier and TypeMethodDescriptionRandomVectorScorerSupplier.ByteScoringSupplier.copy()
RandomVectorScorerSupplier.copy()
Make a copy of the supplier, which will copy the underlying vectorValues so the copy is safe to be used in other threads.RandomVectorScorerSupplier.FloatScoringSupplier.copy()
static RandomVectorScorerSupplier
RandomVectorScorerSupplier.createBytes
(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplier
to compare byte vectors.static RandomVectorScorerSupplier
RandomVectorScorerSupplier.createFloats
(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplier
to compare float vectors.Methods in org.apache.lucene.util.hnsw with parameters of type RandomVectorScorerSupplierModifier and TypeMethodDescriptionstatic HnswGraphBuilder
HnswGraphBuilder.create
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed) static HnswGraphBuilder
HnswGraphBuilder.create
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, int graphSize) static InitializedHnswGraphBuilder
InitializedHnswGraphBuilder.fromGraph
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, HnswGraph initializerGraph, int[] newOrdMap, BitSet initializedNodes, int totalNumberOfVectors) Create a new HnswGraphBuilder that is initialized with the provided HnswGraph.Constructors in org.apache.lucene.util.hnsw with parameters of type RandomVectorScorerSupplierModifierConstructorDescriptionConcurrentHnswMerger
(FieldInfo fieldInfo, RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, TaskExecutor taskExecutor, int numWorker) private
ConcurrentMergeWorker
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw, BitSet initializedNodes, AtomicInteger workProgress) HnswConcurrentMergeBuilder
(TaskExecutor taskExecutor, int numWorker, RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, OnHeapHnswGraph hnsw, BitSet initializedNodes) protected
HnswGraphBuilder
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, int graphSize) 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.protected
HnswGraphBuilder
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw) protected
HnswGraphBuilder
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw, 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.IncrementalHnswGraphMerger
(FieldInfo fieldInfo, RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth) InitializedHnswGraphBuilder
(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph initializedGraph, BitSet initializedNodes)