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

MoreLikeThisHandler shows wrong explains output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.7
    • None
    • MoreLikeThis
    • None

    Description

      The MoreLikeThisHandler, when showing explains output, shows the scoring calculations based upon the rawMLTQuery, not the boostedMLTQuery, meaning that boosts aren't shown in the explains output.

      Given that explains is supposed to "explain" the score that was actually used, this is clearly incorrect.

      The fix is a one-liner. Patch to follow.

      Attachments

        Activity

          People

            Unassigned Unassigned
            upayavira Upayavira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: