-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation missing for elastic search #643
Comments
I tried to get elasticsearch working but no luck. I installed elasticsearch and checked the service is running. I then added the elasticsearch package: meteor add easysearch:elasticsearch@=2.1.0 and tried to use the elasticsearchengine in my template:
|
I was able to get it running, but you have to make a few modifications as ElasticSearch has deprecated a few things. For one, Next, if the fields you are indexing (for the easy search collection) have a 'text' type, easy search adds them by default to the 'sort' option to elastic, but that causes elastic to throw an error but it warns you about putting text types in memory for sorting and aggregating. So I was able to at least get it to work (maybe not an ideal way) by doing this:
I can provide more details if this is still something you need. |
oh, also, you need to explicitly include the elastic engine, so this:
and:
|
Thanks! I'll probably come back to this on my next project. |
The docs are here https://github.com/matteodem/meteor-easy-search/tree/master/packages/easysearch_elasticsearch Any pr fixing the links in the gh-pages branch are greatly appreciated. |
The docs for choosing engines have a broken link to elastic search instructions:
http://matteodem.github.io/meteor-easy-search/docs/engines/
https://github.com/matteodem/meteor-easy-search/tree/master/packages/easysearch:elasticsearch
Is elastic search no longer supported? Or have the instructions moved?
Thank you for this great package which still seems to be the go-to search package for Meteor.
The text was updated successfully, but these errors were encountered: