Class MoreLikeThisHandler.MoreLikeThisHelper

  • Enclosing class:
    MoreLikeThisHandler

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

      • MoreLikeThisHelper

        public MoreLikeThisHelper​(org.apache.solr.common.params.SolrParams params,
                                  SolrIndexSearcher searcher)
    • Method Detail

      • getRawMLTQuery

        public org.apache.lucene.search.Query getRawMLTQuery()
      • getBoostedMLTQuery

        public org.apache.lucene.search.Query getBoostedMLTQuery()
      • getRealMLTQuery

        public org.apache.lucene.search.Query getRealMLTQuery()
      • getMoreLikeTheseQuery

        public org.apache.solr.common.util.NamedList<org.apache.lucene.search.BooleanQuery> getMoreLikeTheseQuery​(DocList docs)
                                                                                                           throws IOException
        Throws:
        IOException
      • getMoreLikeThis

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