Erick: see discussion in SOLR-1915. The gist of the argument in favor of plaintext as a default was that the plain text is easier to read for humans in a browser, and that humans in a browser are the primary consumers of debug.explain.
https://issues.apache.org/jira/browse/SOLR-1915?focusedCommentId=12873190&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12873190 : Date: Fri, 20 Jan 2017 11:52:42 -0800 : From: Erick Erickson <[email protected]> : Reply-To: [email protected] : To: [email protected] : Subject: Why don't we have turn on structured debug info by default? : : It just occurred to me that there's the : "debug.explain.structured=true" parameter. Would it make sense to make : that set by default (in the configs or the code is up in the air). : Yes, it's a change in behavior, but I think making people find this : (obscure) flag is making unnecessary work for them. : : I'd probably advocate making it the default in the code, It's exactly : a one-liner in SolrPluginUtils.java.... : : I'd argue that anyone making programmatic use of the debug output : wouldn't be inconvenienced too much if this were changed. : : Should I raise a JIRA? : : Erick : : --------------------------------------------------------------------- : To unsubscribe, e-mail: [email protected] : For additional commands, e-mail: [email protected] : : -Hoss http://www.lucidworks.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
