[
https://issues.apache.org/jira/browse/SOLR-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800276#comment-13800276
]
ASF subversion and git services commented on SOLR-5368:
-------------------------------------------------------
Commit 1534005 from [~elyograg] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1534005 ]
SOLR-5042 SOLR-5125 SOLR-5368: mlt.count used incorrectly in
MoreLikeThisComponent. (merge trunk r1533995)
> Morelikethis throw EarlyTerminatingCollectorException,when the document is
> greater than 5
> -----------------------------------------------------------------------------------------
>
> Key: SOLR-5368
> URL: https://issues.apache.org/jira/browse/SOLR-5368
> Project: Solr
> Issue Type: Bug
> Components: MoreLikeThis
> Affects Versions: 4.4
> Reporter: dejie Chang
> Priority: Critical
>
> 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
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]