Module org.elasticsearch.server
Package org.elasticsearch.script
Class VectorScoreScriptUtils.ByteDotProduct
java.lang.Object
org.elasticsearch.script.VectorScoreScriptUtils.DenseVectorFunction
org.elasticsearch.script.VectorScoreScriptUtils.ByteDenseVectorFunction
org.elasticsearch.script.VectorScoreScriptUtils.ByteDotProduct
- All Implemented Interfaces:
VectorScoreScriptUtils.DotProductInterface
- Enclosing class:
- VectorScoreScriptUtils
public static class VectorScoreScriptUtils.ByteDotProduct
extends VectorScoreScriptUtils.ByteDenseVectorFunction
implements VectorScoreScriptUtils.DotProductInterface
-
Field Summary
Fields inherited from class org.elasticsearch.script.VectorScoreScriptUtils.ByteDenseVectorFunction
queryVector, qvMagnitude
Fields inherited from class org.elasticsearch.script.VectorScoreScriptUtils.DenseVectorFunction
field, scoreScript
-
Constructor Summary
ConstructorsConstructorDescriptionByteDotProduct
(ScoreScript scoreScript, DenseVectorDocValuesField field, List<Number> queryVector) -
Method Summary
-
Constructor Details
-
ByteDotProduct
public ByteDotProduct(ScoreScript scoreScript, DenseVectorDocValuesField field, List<Number> queryVector)
-
-
Method Details
-
dotProduct
public double dotProduct()- Specified by:
dotProduct
in interfaceVectorScoreScriptUtils.DotProductInterface
-