Class LTRScoringQuery.ModelWeight

  • All Implemented Interfaces:
    org.apache.lucene.search.SegmentCacheable
    Enclosing class:
    LTRScoringQuery

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

      • explain

        public org.apache.lucene.search.Explanation explain​(org.apache.lucene.index.LeafReaderContext context,
                                                            int doc)
                                                     throws IOException
        Specified by:
        explain in class org.apache.lucene.search.Weight
        Throws:
        IOException
      • extractTerms

        public void extractTerms​(Set<org.apache.lucene.index.Term> terms)
        Specified by:
        extractTerms in class org.apache.lucene.search.Weight
      • reset

        protected void reset()
      • isCacheable

        public boolean isCacheable​(org.apache.lucene.index.LeafReaderContext ctx)