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

DebugComponent's explain should be implemented as a distributed query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.3
    • None
    • None

    Description

      Currently when we use debugQuery to see the explanation of the matched documents, the query fired to get the statistics for the matched documents is not a distributed query.

      This is a problem when using distributed idf. The actual documents are being scored using the global stats and not per shard stats , but the explain will show us the score by taking into account the stats from the shard where the document belongs to.

      We should try to implement the explain query as a distributed request so that the scores match the actual document scores.

      Attachments

        1. SOLR_7759.patch
          2 kB
          Alessandro Benedetti

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              varun Varun Thacker
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: