Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.1
-
None
-
None
Description
Probably there is a bug on line 144 of MoreLikeThisComponent.java method process()
There is a call:
NamedList<DocList> sim = getMoreLikeThese(rb, rb.req.getSearcher(), rb.getResults().docList, mltcount);
The last argument (mltcount) is the number of similar documents to return for each result. However the signature of called method getMoreLikeThese is:
NamedList<DocList> getMoreLikeThese(ResponseBuilder rb,SolrIndexSearcher searcher, DocList docs, int flags)
The last argument is the flags - which should contains values like SolrIndexSearcher.GET_SCORES and etc.
Please, could some developers confirm if this is a bug?