[ 
https://issues.apache.org/jira/browse/SOLR-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dejie Chang updated SOLR-5368:
------------------------------

    Summary: Morelikethis throw EarlyTerminatingCollectorException,when the 
document is greater than 5  (was: Morelikethis throw 
EarlyTerminatingCollectorException,when the document is greater than )

> 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]

Reply via email to