I want to use a javascript client for ES that has the least # of 
dependencies because it will make it easier to port it onto Parse.com as a 
cloud module. The more dependencies and/or files involved, the messier it 
looks when bringing in an existing npm module to an environment like Parse.

So far I'm inclined to use 
node-elasticsearch-client<https://github.com/phillro/node-elasticsearch-client/>because
 it has no dependencies according to its 
package.json<https://github.com/phillro/node-elasticsearch-client/blob/master/package.json>file.

The official 
elasticsearch-js<https://github.com/elasticsearch/elasticsearch-js>client on 
the other hand has four other runtime dependencies.

> "dependencies": {
>     "chalk": "~0.4",
>     "forever-agent": "0.5.2",
>     "lodash-node": "~2.4",
>     "when": "~2.8"
>   },
>
> If there is already a branch for this client that's more suited to porting 
for environments like Parse.com, can someone chime in and let me know about 
it?

I'm partially inclined to just use nothing but a simple HTTP request, in 
order to be lean, but I thought it might be worth exploring if I could go 
bigger.

Please feel free to share your thoughts and pointers.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/5db855f6-d8a1-40ee-8c20-8fb72a3848ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to