Class PayloadScoreQuery.PayloadSpanScorer

    • Method Detail

      • getPayloadScore

        protected float getPayloadScore()
      • getPayloadExplanation

        protected Explanation getPayloadExplanation()
      • getSpanScore

        protected float getSpanScore()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • scoreCurrentDoc

        protected float scoreCurrentDoc()
                                 throws java.io.IOException
        Description copied from class: SpanScorer
        Score the current doc. The default implementation scores the doc with the similarity using the slop-adjusted SpanScorer.freq.
        Overrides:
        scoreCurrentDoc in class SpanScorer
        Throws:
        java.io.IOException