Class LTRScoringQuery.ModelWeight.ModelScorer

  • Enclosing class:
    LTRScoringQuery.ModelWeight

    public class LTRScoringQuery.ModelWeight.ModelScorer
    extends org.apache.lucene.search.Scorer
    • Method Detail

      • getDocInfo

        public DocInfo getDocInfo()
      • getChildren

        public Collection<org.apache.lucene.search.Scorable.ChildScorable> getChildren()
                                                                                throws IOException
        Overrides:
        getChildren in class org.apache.lucene.search.Scorable
        Throws:
        IOException
      • docID

        public int docID()
        Specified by:
        docID in class org.apache.lucene.search.Scorable
      • score

        public float score()
                    throws IOException
        Specified by:
        score in class org.apache.lucene.search.Scorable
        Throws:
        IOException
      • getMaxScore

        public float getMaxScore​(int upTo)
                          throws IOException
        Specified by:
        getMaxScore in class org.apache.lucene.search.Scorer
        Throws:
        IOException
      • iterator

        public org.apache.lucene.search.DocIdSetIterator iterator()
        Specified by:
        iterator in class org.apache.lucene.search.Scorer