Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.4.1
-
None
-
None
-
Windows XP
Description
The "mlt.match.include" parameter enables to return the original document of the MLT query.
However the original document does not actually belong to the list of "more like this documents" (since it is explicitly excluded by the "org.apache.solr.handler.MoreLikeThisHandler.MoreLikeThisHelper.getMoreLikeThis()" method). It would be quite useful to have it in the return list (the "response" part of the response) in order to compare its score with scores of the other documents.
Or alternatively add an additional "mtl.score" field to the document stored in the "match" part of the response.