This adapter implements persistence layer for Elasticsearch.
It is built using Elasticsearch::Client
, which is part of elasticsearch
gem.
This is a POC, not production-ready. Work still in progress.
Add this line to your application's Gemfile:
gem 'lotus-elasticsearch'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lotus-elasticsearch
Please refer to Lotus::Model docs for any details related to Entity, Repository, Data Mapper and Adapter.
- Fork it ( https://github.com/arthurgeek/lotus-elasticsearch/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request