[ 
https://issues.apache.org/jira/browse/SOLR-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650575#action_12650575
 ] 

Shalin Shekhar Mangar commented on SOLR-856:
--------------------------------------------

bq. If that's the consensus then i'm okay with that, but my personal preference 
would be to do it in a container agnostic manner (by explicitly using a Filter 
that does this in the stock web.xml) so that it works well for all users, 
regardless of container, out of the box. users who are knowledgeable about 
java, servlet containers, load balancers, etc... can then comment that filter 
out of the web.xml (or replace it with something else)

I just committed SOLR-829 which makes it possible to use external compression 
(i.e. provided by containers) and also internal compression managed by 
ReplicationHandler itself. By default, compression is not used and it needs to 
be enabled explicitly on the slave's solconfig.xml so that the slave requests 
compression from the master. I feel that configuring internal compression is 
best configured through solrconfig.xml. Changing the web.xml after exploding 
the war is inconvenient. Also, compression logic is added directly to 
replication handler (for managing internal compression) because we do not need 
to compress other Solr responses. It is only the replication handler which 
needs this feature and that too only for replicating over slow connections 
(e.g. replicating across data centers).

bq. So .... is this a "Won't Fix" situation?
I think so.

> Suport for "Accept-Encoding : gzip" in SolrDispatchFilter
> ---------------------------------------------------------
>
>                 Key: SOLR-856
>                 URL: https://issues.apache.org/jira/browse/SOLR-856
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>         Attachments: SOLR-856.patch
>
>
> If the client sends an Accept-Encoding : gzip header then SolrDispatchFilter 
> should respect that and send back data as zipped

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to