phillro/node-elasticsearch-client

Isn't there a need for prepare query?

Closed this issue · 4 comments

Isn't there a need for prepare query?

What parameters would this accept and what endpoint would this call?

Take a look at solr-node-client for example. Check in particular Query API. It has lots of internal methods, all of them accepts an options object and creates a url out of that.

Gave any thoughts on this?

It probably makes sense. Will gladly accept a pull request.