While it is possible to have a templates directory, it is not advisable to use it in a production environment. You would have to keep the contents of that directory synchronized between all of your nodes, otherwise you run the risk of inconsistencies. It is recommended, instead, to use the API to upload templates and update them that way, as needed.
--Aaron On Wednesday, January 14, 2015 at 7:58:30 AM UTC-7, Eric Howard wrote: > > At > www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-templates.html > > it states that "Index templates can also be placed within the config > location (path.conf) under the templates directory (note, make sure to > place them on all master eligible nodes). For example, a file called > template_1.json can be placed under config/templates..." > > I do not see a config/templates directory. Do i need to create it > somewhere? I'm using elasticsearch 1.0.1-1. > > Thanks -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/778e6bb6-c0a8-492c-bf6f-0ecd0132224e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
