Module org.elasticsearch.server
Class ES93GenericFlatVectorScorer
java.lang.Object
org.elasticsearch.index.codec.vectors.es93.ES93GenericFlatVectorScorer
- All Implemented Interfaces:
org.apache.lucene.codecs.hnsw.FlatVectorsScorer
public class ES93GenericFlatVectorScorer
extends Object
implements org.apache.lucene.codecs.hnsw.FlatVectorsScorer
-
Field Summary
Fields -
Constructor Summary
Constructors -
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()
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ES93GenericFlatVectorScorer
public ES93GenericFlatVectorScorer()
-
-
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
-