Joe, if you’d like to submit a patch to the ref guide, I’d be happy to work 
with you on it!

> On Dec 21, 2022, at 2:50 PM, Shawn Heisey <apa...@elyograg.org> wrote:
> 
> On 12/21/22 08:24, Joe Jones (DHCW - Software Development) wrote:
>> In transitioning from Solr 5.4.1 to 9.1 I am not sure if I have found a bug 
>> with overwriting the QueryResponseWriter to output XML.  E.g.
>> <queryResponseWriter name="xml" default="true" 
>> class="solr.XMLResponseWriter" />
>> The reference guide states indentation is optional and the default is not to 
>> indent but the only way to turn off indentation is to supply the query 
>> parameter "indent=false"
>> Is this a bug or am I missing a setting?
> 
> Looks like the documentation is wrong about the default and exactly what to 
> send to get it to change.
> 
> My install actually is configured to default to xml because that is what 
> dovecot expects.  It's running Solr 9.2.0-SNAPSHOT in cloud mode.  It is  
> compiled from branch_9x with a few code changes not related in any way to 
> response writers.
> 
> If I send a request without the indent parameter, then the XML output is 
> indented.
> 
> If I send a request with "indent=off" or "indent=false" then it is not 
> indented.
> 
> The same thing happens with wt=json.
> 
> Thanks,
> Shawn

_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | 
http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | 
My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed 
<https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
    
This e-mail and all contents, including attachments, is considered to be 
Company Confidential unless explicitly stated otherwise, regardless of whether 
attachments are marked as such.

Reply via email to