matteodem / meteor-easy-search

Easy-to-use search for Meteor with Blaze Components
MIT License
438 stars 68 forks source link

How do you setup the ElasticSearch addon to work with a remote server instead of localhost:9200? #569

Closed webmagnets closed 7 years ago

webmagnets commented 7 years ago

I have an account with Bonsai.io for hosting ElasticSearch.

How do you configure the ElasticSearch addon to work with that?

matteodem commented 7 years ago

See the configuration section https://github.com/matteodem/meteor-easy-search/tree/master/packages/easysearch:elasticsearch#configuration

webmagnets commented 7 years ago

I read that section. I need an example. I am too much of a beginner to know what to do from just reading that section.

matteodem commented 7 years ago

It's the client option. This should help you https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/quick-start.html