Package org.elasticsearch.script
Class ScoreScriptUtils.RandomScoreDoc
java.lang.Object
org.elasticsearch.script.ScoreScriptUtils.RandomScoreDoc
- Enclosing class:
- ScoreScriptUtils
public static final class ScoreScriptUtils.RandomScoreDoc
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RandomScoreDoc(ScoreScript scoreScript, int seed)
-
Method Summary
Modifier and Type Method Description double
randomScore()
-
Constructor Details
-
Method Details
-
randomScore
public double randomScore()
-