Class StringSortScript

java.lang.Object
org.elasticsearch.script.DocBasedScript
org.elasticsearch.script.StringSortScript
All Implemented Interfaces:
ScorerAware

public abstract class StringSortScript extends DocBasedScript
  • Field Details

  • Constructor Details

  • Method Details

    • execute

      public abstract String execute()
    • getParams

      public Map<String,Object> getParams()
      Return the parameters for this script.
    • setScorer

      public void setScorer(org.apache.lucene.search.Scorable scorer)
      Specified by:
      setScorer in interface ScorerAware
    • get_score

      public double get_score()
      Return the score of the current document.