Restarting ElasticSearch with dynamic templates in config file, how does it work?


(q42jaap) #1

We're running into issues when we restart ElasticSearch.
We're using a default-mapping.json file with dynamic_templates.

The first time the server is restarted, we see that the
dynamic_templates are "doubled", the second time we restart the server
we see the templated trippeled etc.

How do we prevent this when we're using a default-mapping.json file?


(Shay Banon) #2

Heya, yea, its a bug, opened an issue:
https://github.com/elasticsearch/elasticsearch/issues/1964.

On Wed, May 16, 2012 at 7:04 PM, Jaap Taal jaap@q42.nl wrote:

We're running into issues when we restart ElasticSearch.
We're using a default-mapping.json file with dynamic_templates.

The first time the server is restarted, we see that the
dynamic_templates are "doubled", the second time we restart the server
we see the templated trippeled etc.

How do we prevent this when we're using a default-mapping.json file?


(system) #3