Module org.elasticsearch.server
Class ES818BinaryFlatVectorsScorer
java.lang.Object
org.elasticsearch.index.codec.vectors.es818.ES818BinaryFlatVectorsScorer
- All Implemented Interfaces:
org.apache.lucene.codecs.hnsw.FlatVectorsScorer
public class ES818BinaryFlatVectorsScorer
extends Object
implements org.apache.lucene.codecs.hnsw.FlatVectorsScorer
Vector scorer over binarized vector values
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classVector scorer over binarized vector valuesstatic final recordA binarized query representing its quantized form along with factors -
Constructor Summary
ConstructorsConstructorDescriptionES818BinaryFlatVectorsScorer(org.apache.lucene.codecs.hnsw.FlatVectorsScorer nonQuantizedDelegate) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.util.hnsw.RandomVectorScorergetRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, byte[] target) org.apache.lucene.util.hnsw.RandomVectorScorergetRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, float[] target) org.apache.lucene.util.hnsw.RandomVectorScorerSuppliergetRandomVectorScorerSupplier(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues) toString()
-
Constructor Details
-
ES818BinaryFlatVectorsScorer
public ES818BinaryFlatVectorsScorer(org.apache.lucene.codecs.hnsw.FlatVectorsScorer nonQuantizedDelegate)
-
-
Method Details
-
getRandomVectorScorerSupplier
public org.apache.lucene.util.hnsw.RandomVectorScorerSupplier getRandomVectorScorerSupplier(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues) throws IOException - Specified by:
getRandomVectorScorerSupplierin interfaceorg.apache.lucene.codecs.hnsw.FlatVectorsScorer- Throws:
IOException
-
getRandomVectorScorer
public org.apache.lucene.util.hnsw.RandomVectorScorer getRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, float[] target) throws IOException - Specified by:
getRandomVectorScorerin interfaceorg.apache.lucene.codecs.hnsw.FlatVectorsScorer- Throws:
IOException
-
getRandomVectorScorer
public org.apache.lucene.util.hnsw.RandomVectorScorer getRandomVectorScorer(org.apache.lucene.index.VectorSimilarityFunction similarityFunction, org.apache.lucene.index.KnnVectorValues vectorValues, byte[] target) throws IOException - Specified by:
getRandomVectorScorerin interfaceorg.apache.lucene.codecs.hnsw.FlatVectorsScorer- Throws:
IOException
-
toString
-