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
> >

Reply via email to