[
https://issues.apache.org/jira/browse/SOLR-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867746#action_12867746
]
Hoss Man commented on SOLR-1915:
--------------------------------
Fun bit of trivia: this code actually existed in pre-apache Solar (i think it
was about 10 lines) but because of a (short lived) bug in XmlResponseWriter
that caused it to break horribly if it walked a nested data structure more then
8 levels deep, I yanked it back out.
I can't believe it's taken me this long to think it would be handy to add it
back in.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]