Andreas, I don’t think you are missing anything, the docs just need some updating….
If you would like to create a JIRA issue and submit a pull request to update the docs for the JSONWriter, I’ll happily review and merge. Please tag me (“David Eric Pugh”) on the ticket in JIRA. Eric > On Apr 15, 2021, at 4:25 AM, Andreas Mock <andreas.m...@drumedar.de> wrote: > > Hi Frank, > > thank you for your fast answer. > > Interesting. You referred to a parameter which is documented > for the XMLWriter, not for JSONWriter. But in the docs to > version 6.6 one can see that it is used in the example > also with JSONWriter. > > In the documents of the version we're trying to use > (version 8.8; yes, I forgot to mention) there is also nothing said > about this parameter in the paragraph about JSONWriter. > But there it is also gone from the example config. > > Just tried it and it seems to work. > > So, next question: Why is this parameter documented with the > XMLWriter and not with the JSONWriter where it also seems > to work? > Is there a kind of inheritance which is not clear to me? > > Best regards > Andreas > > >> -----Ursprüngliche Nachricht----- >> Von: Nicolas Franck <nicolas.fra...@ugent.be> >> Gesendet: Donnerstag, 15. April 2021 09:34 >> An: users@solr.apache.org >> Betreff: Re: Compacting JSON-Output >> >> https://solr.apache.org/guide/6_6/response-writers.html#ResponseWriters- >> TheindentParameter >> >>> On 15 Apr 2021, at 09:32, Andreas Mock <andreas.m...@drumedar.de> wrote: >>> >>> Hi all, >>> >>> I searched around for a while now but couldn't find an answer to my >> problem. >>> We want to use the JSONWriter which presents a really nice human >> readable >>> output. >>> >>> Is there a way to force this writer to compact the JSON format as good >> as >>> possible to reduce the gross size of the reply? >>> >>> Best regards >>> Andreas Mock >>> > _______________________ 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.