Class LeafScoreFunction


  • public abstract class LeafScoreFunction
    extends java.lang.Object
    Per-leaf ScoreFunction.
    • Method Summary

      Modifier and Type Method Description
      abstract org.apache.lucene.search.Explanation explainScore​(int docId, org.apache.lucene.search.Explanation subQueryScore)  
      abstract double score​(int docId, float subQueryScore)  
      • Methods inherited from class java.lang.Object

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

      • LeafScoreFunction

        public LeafScoreFunction()
    • Method Detail

      • score

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

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