I'm not sure if submitting compressed data is something that the gzip
change would handle but i'd love to know if it does!

On Thu, Jan 13, 2022 at 11:25 AM Shawn Heisey <[email protected]> wrote:
>
> On 1/13/22 9:00 AM, Danilo Tomasoni wrote:
> > I tried searching a lot on the internet but I was unable to find an answer 
> > to this question.
> > Is it possible to POST to solr gzipped data with the "content-encoding: 
> > gzip" header?
> > Or it can accept only uncompressed data?
> > I'm also sending "content-type: application/json" on the /update/json 
> > endpoint.
>
> Looks like support for gzip compression was added to Solr 8.10.0:
>
> https://issues.apache.org/jira/browse/SOLR-11752
>
> To use it, you need to add a line setting SOLR_GZIP_ENABLEDto true in
> either solr.in.sh or solr.in.cmd.  If you're running a version older
> than 8.10.0 you may be able to use the info in the pull request on that
> issue to change what you've got so it works like 8.10.0.  It involves
> changes to the start script and downloading additional jetty components
> that were excluded prior to 8.10.0.
>
> Thanks,
> Shawn
>
>

Reply via email to