fullscale / elastic.js

A JavaScript implementation of the elasticsearch Query DSL
http://docs.fullscale.co/elasticjs/
MIT License
654 stars 163 forks source link

Adds URL support #37

Closed svperfecta closed 10 years ago

svperfecta commented 11 years ago

Hi Team - I think I sent a pull request for this previously, but I've had 5 people now use my fork because they are deploying their projects to heroku, and since the library doesn't support URLs they can't connect to any redis services. What would we need to do in order to get this pulled in?

mattweber commented 10 years ago

You can now set host, port, path, and protocol using a url:

ejs.client = nc.NodeClient().url('https://www.myhost.com/path")