Ruby API: difference between indices.template.* and indices.index_template

I have been writing some code to manage indexing templates and became very confused over whether I should be using , say, indices.exists_index_template.rb or indices.exists_template.rb. After a lot of trial and error I found that I had to use exists_template.rb. Same goes for all other functions.

Examining the code suggest that it should be the other way around.

So what is the *_index_template.rb family for?

I note that all the REST API calls use _index_template.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.