lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Freudensprung (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2447) MoreLikeThis query could optionnaly output the original document in the MLT result itself
Date Wed, 30 Mar 2011 14:42:05 GMT
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


Mime
View raw message