Class ScoreScriptUtils.RandomScoreField

java.lang.Object
org.elasticsearch.script.ScoreScriptUtils.RandomScoreField
Enclosing class:
ScoreScriptUtils

public static final class ScoreScriptUtils.RandomScoreField
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    RandomScoreField​(ScoreScript scoreScript, int seed, java.lang.String fieldName)  
  • Method Summary

    Modifier and Type Method Description
    double randomScore()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RandomScoreField

      public RandomScoreField​(ScoreScript scoreScript, int seed, java.lang.String fieldName)
  • Method Details

    • randomScore

      public double randomScore()