Elasticsearch engine module for Resourceful ODM
Exposes new methods to Resourceful such as
terms() as well as implementing as many of the existing ones as possible.
You can use Lucene query syntax to fetch resources:
Creaturesearch"legs:4"// creatures contains an array of matching records;
You can power autocomplete UI by looking up term frequencies:
Creatureterms"description"// creatures contains an array of matching records;
npm install resourceful-elasticsearch
$ npm test
So far this is mainly used by the Couchelastic hybrid engine so just contains search and configuration methods, rather than acting as a full data store. I am working on making this a functioning stand-alone engine but that's not my focus right now.
Pull requests welcome, please include tests.