Solr does not respect the HTTP headers for compression. Since it is a Web application running on top of a standard Web container, it expects the container to handle compression.

Tomcat

To use Tomcat's native compression, configure the following settings in the Connector section.

For example:

<Connector compression="on" 
compressableMimeType="text/html,text/xml,text/plain" 
compressionMinSize="2048"/>

See here for more details.

Jetty

See here for details

SolrHttpCompression (last edited 2009-09-20 22:05:01 by localhost)