Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable GET /_template to show all templates #2532

Closed
q42jaap opened this Issue Jan 10, 2013 · 4 comments

Comments

Projects
None yet
4 participants
@q42jaap
Copy link

q42jaap commented Jan 10, 2013

/_template shows:
No handler found for uri [/_template] and method [GET]

It would make sense to list the templates as they are listed in the /_cluster/state call.

See also:
https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/wnGOnT-JTQo

dadoonet added a commit to dadoonet/elasticsearch that referenced this issue Jan 10, 2013

@ghost ghost assigned dadoonet Aug 11, 2013

dadoonet added a commit to dadoonet/elasticsearch that referenced this issue Sep 9, 2013

Support for REST get ALL templates.
/_template shows: No handler found for uri [/_template] and method [GET]

It would make sense to list the templates as they are listed in the /_cluster/state call.

Closes elastic#2532.

dadoonet added a commit to dadoonet/elasticsearch that referenced this issue Sep 10, 2013

dadoonet added a commit to dadoonet/elasticsearch that referenced this issue Sep 10, 2013

dadoonet added a commit to dadoonet/elasticsearch that referenced this issue Sep 10, 2013

@dadoonet dadoonet closed this in ea4988e Sep 13, 2013

dadoonet added a commit that referenced this issue Sep 13, 2013

Remove get index templates deprecated methods
In 0.90.4, we deprecated some code:

* `GetIndexTemplatesRequest#GetIndexTemplatesRequest(String)` moved to `GetIndexTemplatesRequest#GetIndexTemplatesRequest(String...)`
* `GetIndexTemplatesRequest#name(String)` moved to `GetIndexTemplatesRequest#names(String...)`
* `GetIndexTemplatesRequest#name()` moved to `GetIndexTemplatesRequest#names()`

* `GetIndexTemplatesRequestBuilder#GetIndexTemplatesRequestBuilder(IndicesAdminClient, String)` moved to  `GetIndexTemplatesRequestBuilder#GetIndexTemplatesRequestBuilder(IndicesAdminClient, String...)`

* `IndicesAdminClient#prepareGetTemplates(String)` moved to `IndicesAdminClient#prepareGetTemplates(String...)`

* `AbstractIndicesAdminClient#prepareGetTemplates(String)` moved to `AbstractIndicesAdminClient#prepareGetTemplates(String...)`

We can now remove that old methods in 1.0.

**Note**: it breaks the Java API

Relative to #2532.
Closes #3681.

dadoonet added a commit that referenced this issue Sep 13, 2013

Support for REST get ALL templates.
/_template shows: No handler found for uri [/_template] and method [GET]

It would make sense to list the templates as they are listed in the /_cluster/state call.

Closes #2532.

karmi added a commit to elastic/elasticsearch-ruby that referenced this issue Oct 22, 2013

[API] Changed, that the `get_template` API doesn't require :name argu…
…ment anymore

Related:

  * elastic/elasticsearch#2532
  * elastic/elasticsearch#3812
  * elasticsearch/elasticsearch-rest-api-spec@4efda5d1806019c195005d72f299d7b13047b81c

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Support for REST get ALL templates.
/_template shows: No handler found for uri [/_template] and method [GET]

It would make sense to list the templates as they are listed in the /_cluster/state call.

Closes elastic#2532.
@trycoon

This comment has been minimized.

Copy link

trycoon commented Oct 1, 2015

This is only for listing "index-templates", right? But I want to list existing search-templates: https://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-template.html

@dadoonet

This comment has been minimized.

Copy link
Member

dadoonet commented Oct 1, 2015

Yes. You should ask this type of question on discuss.elastic.co.

@Bklara

This comment has been minimized.

Copy link

Bklara commented Mar 27, 2017

Hi. Am i right, there is no solution for search templates yet?

@trycoon

This comment has been minimized.

Copy link

trycoon commented Mar 29, 2017

No API-support, not that I know of. But since search-templates are a ordinary index just with the name ".script" you could use the normal commands that you use for listing indices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.