I think it would be better to use the official Elastic JS client
https://github.com/elastic/elasticsearch-js
I think this would make it a little easier to make various requests to ES. A follow on issue I would add is the ability to submit an index template for example.
PR: #9
I think it would be better to use the official Elastic JS client
https://github.com/elastic/elasticsearch-js
I think this would make it a little easier to make various requests to ES. A follow on issue I would add is the ability to submit an index template for example.
PR: #9