Class LeafScoreFunction

java.lang.Object
org.elasticsearch.common.lucene.search.function.LeafScoreFunction

public abstract class LeafScoreFunction extends Object
Per-leaf ScoreFunction.
  • Constructor Details

    • LeafScoreFunction

      public LeafScoreFunction()
  • Method Details

    • score

      public abstract double score(int docId, float subQueryScore) throws IOException
      Throws:
      IOException
    • explainScore

      public abstract org.apache.lucene.search.Explanation explainScore(int docId, org.apache.lucene.search.Explanation subQueryScore) throws IOException
      Throws:
      IOException