[ 
https://issues.apache.org/jira/browse/SOLR-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man reopened SOLR-1915:
----------------------------


bq Having firefox not show the linebreaks unless you press CTRL-U (or 
cut-n-paste it) also has it's advantages... the large explains take up less 
vertical room in the response in those cases where you're not looking at them.

Hmm ... i suppose, but the ability to easily collapse things in the XML view by 
clicking the +/- seems so much nicer by default -- i seriously find the XML 
view *soooo* much easier to read/use then the plain text.

But you've got enough legitimate points that i'm totally on board with changing 
the default back to plain text -- which also means we should come up with a 
better name for the option then "debug.explain.stringFormat=false"

suggestions?

> 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
>             Fix For: 4.0
>
>         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