java.lang.Object
org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer
org.elasticsearch.simdvec.internal.FloatVectorScorer
- All Implemented Interfaces:
org.apache.lucene.util.hnsw.HasKnnVectorValues,org.apache.lucene.util.hnsw.RandomVectorScorer
- Direct Known Subclasses:
FloatVectorScorer.DotProductScorer,FloatVectorScorer.EuclideanScorer,FloatVectorScorer.MaxInnerProductScorer
public abstract sealed class FloatVectorScorer
extends org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer
permits FloatVectorScorer.DotProductScorer, FloatVectorScorer.EuclideanScorer, FloatVectorScorer.MaxInnerProductScorer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classNested classes/interfaces inherited from interface org.apache.lucene.util.hnsw.RandomVectorScorer
org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer -
Method Summary
Methods inherited from class org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer
getAcceptOrds, maxOrd, ordToDoc, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.hnsw.RandomVectorScorer
bulkScore, score
-
Method Details
-
create
public static Optional<org.apache.lucene.util.hnsw.RandomVectorScorer> create(org.apache.lucene.index.VectorSimilarityFunction sim, org.apache.lucene.index.FloatVectorValues values, float[] queryVector)
-