I have been writing some code to manage indexing templates and became very confused over whether I should be using , say,
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.