drakerian / loopback-connector-elastic-search

Strongloop Loopback connector for Elasticsearch
MIT License
33 stars 86 forks source link

add url support #7

Closed yorkie closed 9 years ago

yorkie commented 9 years ago

actually in heroku, the elasticsearch provider only provide you a complete url with https://user:pass@host:port, so i guess your host + port fields doesn't work with https and auth.

pulkitsinghal commented 9 years ago

@yorkie - I would suggest that you try https://github.com/strongloop-community/loopback-connector-elastic-search as I forked it off this repo and am actively maintaining it. I've already added both https and basic authN support there.

pulkitsinghal commented 9 years ago

@yorkie - also if you are interested in free plans to mess around with ES, other than Heroku I know the following provide sandbox level free hosted plans:

  1. https://app.bonsai.io/plans $0 per month 1GB memory, 1GB storage no CC required
  2. https://facetflow.com/#plans $0/month 5,000 documents, 500 MB storage 1 primary shard, 0 replicas Sandbox (not for production use)
yorkie commented 9 years ago

Ok, Thanks, you are using settings.host to replace the url. great, will migrate it...actually i'm using bonsai's free plan :)

yorkie commented 9 years ago

By the way, could you make description to tell others to use the strongloop fork, rather than this. Just tip

pulkitsinghal commented 9 years ago

@yorkie - but where would I put that description? I don't own this project

yorkie commented 9 years ago

ah, forgot, i thought you are the owner, lol, thanks for your answer :p