Elasticsearch練習中...
memo.
index template
- component_templateを作っておく(あらかじめ使い回せるパターンがあるなら) https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html
- index_templateを作る https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-template.html
- simulate_templateでindexを入れた時に何が適用されるか確認する https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-simulate-index.html
shards, replicas等の設定等もここでできるので、作る前に評価が必要。