tamaramata / solrnet

Automatically exported from code.google.com/p/solrnet
0 stars 0 forks source link

Add support for compression of solr response. #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If compression is opened for solr response, SolrNet could not work in current 
implementation.

Original issue reported on code.google.com by earthh...@gmail.com on 19 Aug 2010 at 11:07

GoogleCodeExporter commented 8 years ago
I need more information. Do you mean this kind of compression? 
http://wiki.apache.org/solr/SolrPerformanceFactors#Query_Response_Compression 
What exception do you get?

Original comment by mauricio...@gmail.com on 20 Aug 2010 at 12:21

GoogleCodeExporter commented 8 years ago
Yes. I mean the compression support of web server.
If I open compression on tomcat. SolrNet simply ignores to use it because it 
does not have Accept-Encoding header in the requests. So it would always bypass 
web server compression support.

Original comment by earthh...@gmail.com on 20 Aug 2010 at 5:49

GoogleCodeExporter commented 8 years ago

Original comment by mauricio...@gmail.com on 20 Aug 2010 at 12:46

GoogleCodeExporter commented 8 years ago
Here's how to add support for compression: 
http://west-wind.com/weblog/posts/102969.aspx

This would have to be added to SolrConnection. Wanna give it a shot (and test 
it)?

Original comment by mauricio...@gmail.com on 20 Aug 2010 at 1:16

GoogleCodeExporter commented 8 years ago

Original comment by mauricio...@gmail.com on 24 Aug 2010 at 1:14

GoogleCodeExporter commented 8 years ago
Implemented by Stephen/mRg in 3c644c45c822e618b70613eb944fc823c0e1b10f

Original comment by mauricio...@gmail.com on 31 Oct 2010 at 4:34