7 ms·
Have a look here: https://github.com/elasticsearch/elasticsearch-rails/tree/master/elasticsearch-persistence https://github.com/elasticsearch/elasticsearch-rail
by karmi 12y ago
Have a look here: https://github.com/elasticsearch/elasticsearch-rails/tree/master/elasticsearch-persistence https://github.com/elasticsearch/elasticsearch-rails/tree/ma... -- it offers a "repository" based approach to persistence. An "ActiveRecord-like" pattern is being actively working on in the `persistence-model` branch (https://github.com/elasticsearch/elasticsearch-rails/pull/91 https://github.com/elasticsearch/elasticsearch-rails/pull/91)
- kitwalker12 12y agothis looks great. Will work on incorporating this in our project