Class MoreLikeThisHandler.MoreLikeThisHelper

  • Enclosing class:

    public static class MoreLikeThisHandler.MoreLikeThisHelper
    extends Object
    Helper class for MoreLikeThis that can be called from other request handlers
    • Method Detail

      • getRawMLTQuery

        public getRawMLTQuery()
      • getBoostedMLTQuery

        public getBoostedMLTQuery()
      • getRealMLTQuery

        public getRealMLTQuery()
      • getInterestingTerms

        public List<MoreLikeThisHandler.InterestingTerm> getInterestingTerms​( boostedMLTQuery,
                                                                             int maxTerms)
        Yields terms with boosts from the boosted MLT query.
        maxTerms - how many terms to return, a negative value means all terms are returned
      • getMoreLikeThis

        public org.apache.lucene.queries.mlt.MoreLikeThis getMoreLikeThis()