Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5368

Morelikethis throw EarlyTerminatingCollectorException,when the document is greater than 5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 4.4
    • None
    • MoreLikeThis
    • None

    Description

      when i use MoreLikeThisHandler,it throws a EarlyTerminatingCollectorException when the document is greater than 5.
      and I think it is because the fllowing reason in MoreLikeThisComponent.java
      NamedList<DocList> sim = getMoreLikeThese(rb, rb.req.getSearcher(),
      rb.getResults().docList, mltcount);

      But the actual getMoreLikeThese's The method signature is

      NamedList<DocList> getMoreLikeThese(ResponseBuilder rb,
      SolrIndexSearcher searcher, DocList docs, int flags)

      so i think the mltcount shoud be flags。

      and also on line 113

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              changdejie dejie Chang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: