Uses of Interface
org.apache.lucene.util.hnsw.RandomVectorScorer
-
Packages that use RandomVectorScorer Package Description org.apache.lucene.codecs.hnsw HNSW vector helper classes.org.apache.lucene.codecs.lucene99 Lucene 9.9 file format.org.apache.lucene.util.hnsw Navigable Small-World graph, nominally Hierarchical but currently only has a single layer. -
-
Uses of RandomVectorScorer in org.apache.lucene.codecs.hnsw
Methods in org.apache.lucene.codecs.hnsw that return RandomVectorScorer Modifier and Type Method Description RandomVectorScorerDefaultFlatVectorScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)RandomVectorScorerDefaultFlatVectorScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)abstract RandomVectorScorerFlatVectorsReader. getRandomVectorScorer(String field, byte[] target)Returns aRandomVectorScorerfor the given field and target vector.abstract RandomVectorScorerFlatVectorsReader. getRandomVectorScorer(String field, float[] target)Returns aRandomVectorScorerfor the given field and target vector.RandomVectorScorerFlatVectorsScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)Returns aRandomVectorScorerfor the given set of vectors and target vector.RandomVectorScorerFlatVectorsScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)Returns aRandomVectorScorerfor the given set of vectors and target vector.RandomVectorScorerScalarQuantizedVectorScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)RandomVectorScorerScalarQuantizedVectorScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)RandomVectorScorerScalarQuantizedVectorScorer.ScalarQuantizedRandomVectorScorerSupplier. scorer(int ord) -
Uses of RandomVectorScorer in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return RandomVectorScorer Modifier and Type Method Description RandomVectorScorerLucene99FlatVectorsReader. getRandomVectorScorer(String field, byte[] target)RandomVectorScorerLucene99FlatVectorsReader. getRandomVectorScorer(String field, float[] target)RandomVectorScorerLucene99ScalarQuantizedVectorScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, byte[] target)RandomVectorScorerLucene99ScalarQuantizedVectorScorer. getRandomVectorScorer(VectorSimilarityFunction similarityFunction, RandomAccessVectorValues vectorValues, float[] target)RandomVectorScorerLucene99ScalarQuantizedVectorsReader. getRandomVectorScorer(String field, byte[] target)RandomVectorScorerLucene99ScalarQuantizedVectorsReader. getRandomVectorScorer(String field, float[] target) -
Uses of RandomVectorScorer in org.apache.lucene.util.hnsw
Classes in org.apache.lucene.util.hnsw that implement RandomVectorScorer Modifier and Type Class Description static classRandomVectorScorer.AbstractRandomVectorScorerCreates a default scorer for random access vectors.Methods in org.apache.lucene.util.hnsw that return RandomVectorScorer Modifier and Type Method Description RandomVectorScorerRandomVectorScorerSupplier. scorer(int ord)This creates aRandomVectorScorerfor scoring random nodes in batches against the given ordinal.Methods in org.apache.lucene.util.hnsw with parameters of type RandomVectorScorer Modifier and Type Method Description static KnnCollectorHnswGraphSearcher. search(RandomVectorScorer scorer, int topK, OnHeapHnswGraph graph, Bits acceptOrds, int visitedLimit)SearchOnHeapHnswGraph, this method is thread safe.static voidHnswGraphSearcher. search(RandomVectorScorer scorer, KnnCollector knnCollector, HnswGraph graph, Bits acceptOrds)Searches HNSW graph for the nearest neighbors of a query vector.HnswGraphBuilder.GraphBuilderKnnCollectorHnswGraphSearcher. searchLevel(RandomVectorScorer scorer, int topK, int level, int[] eps, HnswGraph graph)Searches for the nearest neighbors of a query vector in a given level.
-