You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bruno Freudensprung (JIRA)" <ji...@apache.org> on 2011/03/30 16:42:05 UTC
[jira] [Created] (SOLR-2447) MoreLikeThis query could optionnaly
output the original document in the MLT result itself
MoreLikeThis query could optionnaly output the original document in the MLT result itself
-----------------------------------------------------------------------------------------
Key: SOLR-2447
URL: https://issues.apache.org/jira/browse/SOLR-2447
Project: Solr
Issue Type: Improvement
Components: MoreLikeThis
Affects Versions: 1.4.1
Environment: Windows XP
Reporter: Bruno Freudensprung
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org