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 classQuantized vector scorer supplierFields in org.apache.lucene.codecs.lucene99 declared as RandomVectorScorerSupplierModifier and TypeFieldDescriptionprivate final RandomVectorScorerSupplierLucene99FlatVectorsWriter.FlatCloseableRandomVectorScorerSupplier.supplierMethods 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 HnswGraphMergerLucene99HnswVectorsWriter.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 TypeInterfaceDescriptioninterfaceA supplier that createsRandomVectorScorerfrom an ordinal.Classes in org.apache.lucene.util.hnsw that implement RandomVectorScorerSupplierModifier and TypeClassDescriptionstatic final classRandomVectorScorerSupplier for bytes vectorstatic final classRandomVectorScorerSupplier for Float vectorFields in org.apache.lucene.util.hnsw declared as RandomVectorScorerSupplierModifier and TypeFieldDescriptionprivate final RandomVectorScorerSupplierHnswGraphBuilder.scorerSupplierprotected final RandomVectorScorerSupplierIncrementalHnswGraphMerger.scorerSupplierMethods 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 RandomVectorScorerSupplierRandomVectorScorerSupplier.createBytes(RandomAccessVectorValues<byte[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplierto compare byte vectors.static RandomVectorScorerSupplierRandomVectorScorerSupplier.createFloats(RandomAccessVectorValues<float[]> vectors, VectorSimilarityFunction similarityFunction) Creates aRandomVectorScorerSupplierto compare float vectors.Methods in org.apache.lucene.util.hnsw with parameters of type RandomVectorScorerSupplierModifier and TypeMethodDescriptionstatic 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 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) privateConcurrentMergeWorker(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) 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, 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)