ElasticSearch Configuration (com.akana.elasticsearch)

Elastic configuration properties

Number of shards (elastic.config.index.number.of.shards)

The number of shards (splits) of an index (2 by default) The 'number of shards' is a one-time setting for an index. Index need to be recreated if one wants to change this setting as elasticsearch indexes have an important limitation in that they cannot be 'resharded'

Default: 2

Number of replicas (elastic.config.index.number.of.replicas)

The number of replicas (additional copies) of an index (1 by default). Considering there are 2 shards for an index, each replica will be roughly half of the size of the index In one node environment, make the number of replicas to 0 to avoid unnecessary storage

Default: 1