What is the difference between client.indices.putTemplate and client.putTemplate using the Javascript ElasticSearch Client, Elasticsearch.js
Asked
Active
Viewed 866 times
1 Answers
1
client.indices.putTemplate
is to create index templates...
...while client.putTemplate
is to create search templates.
If you follow the links given in the JS API documentation under the respective method, you'll land on the same links I shared above.

Val
- 207,596
- 13
- 358
- 360