[ 
https://issues.apache.org/jira/browse/SOLR-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871872#action_12871872
 ] 

Yonik Seeley commented on SOLR-1915:
------------------------------------

How's the readability in the browser (after pressing CTRL-U of course, or when 
using something like JSON format)?
If the more common usecase is human inspection, perhaps the string format 
should be the default?

> DebugComponent should use NamedList to output Explanations instead of 
> Explanation.toString()
> --------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1915
>                 URL: https://issues.apache.org/jira/browse/SOLR-1915
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-1915.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to