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

Hoss Man commented on SOLR-1915:
--------------------------------

It's much more readable in the browser because you don't have to hit Ctrl-U to 
view the source -- it's readable as is.   it's also fairly readable in JSON 
(assuming you use indent=true, which is pretty much necessary to read any of 
the JSON output sanely)



> 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