lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-10981) Allow update to load gzip files
Date Sat, 12 May 2018 01:02:00 GMT


Mark Miller commented on SOLR-10981:

The client side (requests) has to be handled by the client of course - we have an option to
use gzip with our clients.

I guess the difference here is that we are not gzipping the file, or whatever we send to Jetty,
it's already gzipped.

> Allow update to load gzip files 
> --------------------------------
>                 Key: SOLR-10981
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 6.6
>            Reporter: Andrew Lundgren
>            Priority: Major
>              Labels: patch
>             Fix For: 7.4, master (8.0)
>         Attachments: SOLR-10981.patch, SOLR-10981.patch, SOLR-10981.patch, SOLR-10981.patch
> We currently import large CSV files.  We store them in gzip files as they compress at
around 80%.
> To import them we must gunzip them and then import them.  After that we no longer need
the decompressed files.
> This patch allows directly opening either URL, or local files that are gzipped.
> For URLs, to determine if the file is gzipped, it will check the content encoding=="gzip"
or if the file ends in ".gz"
> For files, if the file ends in ".gz" then it will assume the file is gzipped.
> I have tested the patch with 4.10.4, 6.6.0 and master from git.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message