[ 
https://issues.apache.org/jira/browse/SOLR-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800172#comment-13800172
 ] 

Anshum Gupta commented on SOLR-5368:
------------------------------------

Duplicate issue. Here's another one with a patch already uploaded. It's yet to 
be committed though.
https://issues.apache.org/jira/browse/SOLR-5042

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to