Class LTRQParserPlugin.LTRQuery

  • All Implemented Interfaces:
    ExtendedQuery
    Enclosing class:
    LTRQParserPlugin

    public class LTRQParserPlugin.LTRQuery
    extends AbstractReRankQuery
    A learning to rank Query, will incapsulate a learning to rank model, and delegate to it the rescoring of the documents.
    • Constructor Detail

      • LTRQuery

        public LTRQuery​(LTRScoringQuery scoringQuery,
                        int reRankDocs)
    • Method Detail

      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class org.apache.lucene.search.Query
      • equals

        public boolean equals​(Object o)
        Specified by:
        equals in class org.apache.lucene.search.Query