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

Reply via email to