Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2447

MoreLikeThis query could optionnaly output the original document in the MLT result itself

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.4.1
    • None
    • MoreLikeThis
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bfreuden Bruno Freudensprung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: