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

Morelikethis throw EarlyTerminatingCollectorException,when the document is greater than 5

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 4.4
    • Fix Version/s: None
    • Component/s: MoreLikeThis
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              changdejie dejie Chang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment