The templates from "localhost:9200/_template" get not updated with the configured one, even when I create an index.
I am not sure, is this is a bug?

Steps to reproduce:

1. Create in a fresh Elasticsearch 1.2.1 installation the file "config/templates/template_1.json" like in this example http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-templates.html#config

2. Start Elasticsearch

3. Create an index:
    curl localhost:9200/test

4. Check that the mapping is used from our template_1:
    curl localhost:9200/_mapping/

5. ...but the templates are not updated:
    curl localhost:9200/_template/
    -> Empty result - is this a bug?


In my app I just want to check if the user has installed Elasticsearch with the correct templates. - But localhost:9200/_template/ seems only to work after documents has already been indexed when using the config directory for templates.

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/53906677.8030303%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to