Source : compression has no effect


(Anurag Phadke) #1

I ran two different tests on ES 0.17.3, without compression and one by
setting the compress: flag as true.

curl -XPUT localhost:9200/_settings -d '{
"crash_reports" : {
"_source" : {"compress" : true}
}
}'

and then indexing 300K docs

Doing a du -sh /data1/elasticsearch got me the same size in both the
test runs. Am I missing something out here?


(Shay Banon) #2

Whats your typical document looks like? Basically, an index is comprised of
a lot of data, part of it is the stored source.

On Fri, Aug 5, 2011 at 10:17 PM, Anurag anurag.phadke@gmail.com wrote:

I ran two different tests on ES 0.17.3, without compression and one by
setting the compress: flag as true.

curl -XPUT localhost:9200/_settings -d '{
"crash_reports" : {
"_source" : {"compress" : true}
}
}'

and then indexing 300K docs

Doing a du -sh /data1/elasticsearch got me the same size in both the
test runs. Am I missing something out here?


(system) #3