On 6/4/2013 6:06 AM, Erick Erickson wrote: > About shipping data back to the client. Well, you > say the documents are very large Solr 4.2 > automatically compresses stored data, you might > be spending a lot if time decompressing the data. > You could try turning that option off. Other than
Erick, I'm not aware of any option in Solr to turn compression off. I've been told that it would require creating a special codec that doesn't do compression and somehow referencing that. On a modern system with documents that aren't huge, there is typically not a lot of difference in performance when Solr uses compression, but there have been cases with older hardware or with atypical documents where the compression has resulted in a major performance drop. I think it would be a really good idea to have a configuration knob to turn compression off. If that would be difficult to support when upgrading, we should include alternate codecs, with the understanding that some version upgrades are likely to require wiping out the index and building it again. Thanks, Shawn