in Search head, my cluster status shows:
{
state: open
settings: {
index.compress: true
index.number_of_replicas: 1
index.number_of_shards: 12
index.refresh_interval: 10s
index.version.created: 190999
}
The index was created like so:
conn.create_index_if_missing(index_name,settings={'compress':
'true',"number_of_shards" : 12,"number_of_replicas" : 1,"refresh_interval"
: "10s",})
Is it the case that all stored fields are now compressed? or do I need to
specify compression option at the fields/mapping level as well?
for this or you if you only want to compress the _source field you need to
enable that in the mapping. Yet, store level compression has better
compression compared to _source.
simon
On Friday, October 12, 2012 2:39:16 PM UTC+2, Mohamed Lrhazi wrote:
in Search head, my cluster status shows:
{
state: open
settings: {
index.compress: true
index.number_of_replicas: 1
index.number_of_shards: 12
index.refresh_interval: 10s
index.version.created: 190999
}
The index was created like so:
conn.create_index_if_missing(index_name,settings={'compress':
'true',"number_of_shards" : 12,"number_of_replicas" : 1,"refresh_interval"
: "10s",})
Is it the case that all stored fields are now compressed? or do I need to
specify compression option at the fields/mapping level as well?
for this or you if you only want to compress the _source field you need to
enable that in the mapping. Yet, store level compression has better
compression compared to _source.
simon
On Friday, October 12, 2012 2:39:16 PM UTC+2, Mohamed Lrhazi wrote:
in Search head, my cluster status shows:
{
state: open
settings: {
index.compress: true
index.number_of_replicas: 1
index.number_of_shards: 12
index.refresh_interval: 10s
index.version.created: 190999
}
The index was created like so:
conn.create_index_if_missing(index_name,settings={'compress':
'true',"number_of_shards" : 12,"number_of_replicas" : 1,"refresh_interval"
: "10s",})
Is it the case that all stored fields are now compressed? or do I need to
specify compression option at the fields/mapping level as well?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.