Not all settings are presented in elasticsearch.yml

Hi,

I'm a beginner with Elasticsearch. I've recently installed elasticsearch (2.3.1 version) on ubuntu 16.04.2 LTS without making any changes to elasticsearch.yml. I've noticed that there are no settings index.number_of_shards and index.number_of_replicas. I've added them manually but failed to start the service afterwards. What could be the reason? Thanks.

Best regards,
Vlad

What could be the reason?

More likely your elasticsearch.yml is "corrupted" like bad indentation or something like that.

BTW those settings are now removed in 5.x so I'd not use them but index templates instead.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.