Uses of Interface
org.apache.lucene.util.hnsw.RandomVectorScorerSupplier
Packages that use RandomVectorScorerSupplier
Package
Description
HNSW vector helper classes.
Lucene 10.4 file format.
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.hnsw
Classes in org.apache.lucene.codecs.hnsw that implement RandomVectorScorerSupplierModifier and TypeClassDescriptionstatic classQuantized vector scorer supplierMethods in org.apache.lucene.codecs.hnsw that return RandomVectorScorerSupplierModifier and TypeMethodDescriptionScalarQuantizedVectorScorer.ScalarQuantizedRandomVectorScorerSupplier.copy()DefaultFlatVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) FlatVectorsScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) Returns aRandomVectorScorerSupplierthat can be used to score vectorsPrefetchableFlatVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) ScalarQuantizedVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) -
Uses of RandomVectorScorerSupplier in org.apache.lucene.codecs.lucene104
Methods in org.apache.lucene.codecs.lucene104 that return RandomVectorScorerSupplierModifier and TypeMethodDescriptionLucene104ScalarQuantizedVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) Lucene104ScalarQuantizedVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, QuantizedByteVectorValues scoringVectors, QuantizedByteVectorValues targetVectors) -
Uses of RandomVectorScorerSupplier in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return RandomVectorScorerSupplierModifier and TypeMethodDescriptionLucene99ScalarQuantizedVectorScorer.getRandomVectorScorerSupplier(VectorSimilarityFunction similarityFunction, KnnVectorValues vectorValues) -
Uses of RandomVectorScorerSupplier in org.apache.lucene.util.hnsw
Subinterfaces of RandomVectorScorerSupplier in org.apache.lucene.util.hnswModifier and TypeInterfaceDescriptioninterfaceA supplier that createsUpdateableRandomVectorScorerfrom an ordinal.Fields in org.apache.lucene.util.hnsw declared as RandomVectorScorerSupplierModifier and TypeFieldDescriptionprotected final RandomVectorScorerSupplierIncrementalHnswGraphMerger.scorerSupplierMethods in org.apache.lucene.util.hnsw that return RandomVectorScorerSupplierModifier and TypeMethodDescriptionRandomVectorScorerSupplier.copy()Make a copy of the supplier, which will copy the underlying vectorValues so the copy is safe to be used in other threads.Methods in org.apache.lucene.util.hnsw with parameters of type RandomVectorScorerSupplierModifier and TypeMethodDescriptionCloseableRandomVectorScorerSupplier.create(RandomVectorScorerSupplier supplier, int totalVectorCount, Closeable onClose) static HnswGraphBuilderHnswGraphBuilder.create(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed) static HnswGraphBuilderHnswGraphBuilder.create(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, int graphSize) static InitializedHnswGraphBuilderInitializedHnswGraphBuilder.fromGraph(RandomVectorScorerSupplier scorerSupplier, int beamWidth, long seed, HnswGraph initializerGraph, int[] newOrdMap, BitSet initializedNodes, int totalNumberOfVectors) Creates an initialized HNSW graph builder from an existing graph.static MergingHnswGraphBuilderMergingHnswGraphBuilder.fromGraphs(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, HnswGraph[] graphs, int[][] ordMaps, int totalNumberOfVectors, BitSet initializedNodes) Create a new HnswGraphBuilder that is initialized with the provided HnswGraph.static OnHeapHnswGraphInitializedHnswGraphBuilder.initGraph(HnswGraph initializerGraph, int[] newOrdMap, int totalNumberOfVectors, int beamWidth, RandomVectorScorerSupplier scorerSupplier) Convenience method to create a fully initialized on-heap HNSW graph without tracking initialized nodes.Constructors in org.apache.lucene.util.hnsw with parameters of type RandomVectorScorerSupplierModifierConstructorDescriptionConcurrentHnswMerger(FieldInfo fieldInfo, RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, TaskExecutor taskExecutor, int numWorker) HnswConcurrentMergeBuilder(TaskExecutor taskExecutor, int numWorker, RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, OnHeapHnswGraph hnsw, BitSet initializedNodes) protectedHnswGraphBuilder(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.protectedHnswGraphBuilder(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw) protectedHnswGraphBuilder(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw, org.apache.lucene.util.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.protectedHnswGraphBuilder(RandomVectorScorerSupplier scorerSupplier, int beamWidth, long seed, OnHeapHnswGraph hnsw) IncrementalHnswGraphMerger(FieldInfo fieldInfo, RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth)