From the api
docs http://www.elasticsearch.org/guide/reference/api/admin-indices-templates.html
it seems that you cannot get a list of templates that are active.
I just couldn't remember whether I had set a template or not (which I found
out of course by "guessing" the template name and doing a get request for
it)...
Is it there? I tried GET /_template, but that's a 404.
So I found it after al in the /_cluster/state, but maybe the /_template
could be mapped to the map of templates?
IMHO it makes sense to have it. You should open an issue for it.
Le 10 janvier 2013 à 14:49, Jaap Taal jaap@q42.nl a écrit :
From the api docs Elasticsearch Platform — Find real-time answers at scale | Elastic
it seems that you cannot get a list of templates that are active.
I just couldn't remember whether I had set a template or not (which I found
out of course by "guessing" the template name and doing a get request for
it)...
Is it there? I tried GET /_template, but that's a 404.
So I found it after al in the /_cluster/state, but maybe the /_template could
be mapped to the map of templates?
On Thursday, January 10, 2013 2:49:58 PM UTC+1, Jaap Taal wrote:
From the api docs Elasticsearch Platform — Find real-time answers at scale | Elastic seems that you cannot get a list of templates that are active.
I just couldn't remember whether I had set a template or not (which I
found out of course by "guessing" the template name and doing a get request
for it)...
Is it there? I tried GET /_template, but that's a 404.
So I found it after al in the /_cluster/state, but maybe the /_template
could be mapped to the map of templates?
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.