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

DebugComponent should use NamedList to output Explanations instead of Explanation.toString()

    XMLWordPrintableJSON

Details

    Description

      DebugComponent currently uses Explanation.toString() to "format" score explanations for each document as plain text with whitespace indenting to denote the hierarchical relationship, and then adds those explanations to the SolrQueryResponse.

      Instead DebugComponent should transform the Explanation objects into NamedLists so that the full structure can be formatted in a logical way by the ResponseWriter

      Attachments

        1. SOLR-1915.patch
          11 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: