I have multiple type of index files generated by different data sources. They all reside on the same cluster.
index-typeA
index-typeB
index-typeC
each one has different shard count, replica count requirements.
is there a way in my elasticsearch.yaml to specify
index.number_of_shards
index.number_of_replicas
parameters for each specific index? Or this pertains to the cluster itself?
I understand that you can do this by API for each index, but wont' this be considered as transient setting and will be reset in case full cluster restart?
I want to, but I guess I am not understanding how the template is being executed by the elasticsearch. In my case when I have rolling log, how do I tell elastic search to run a specific template everyday.
When you create the template you define a pattern that it should match, so when an index is created it looks for templates that match and then applies them.
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.