Elasticsearch Rails is split into two parts
elasticsearch-rails which provides some instrumentation such as nice logging the time that queries took. It also adds some nice rake task (which are dependent on elasticsearch-model) but neither of these are essential
elasticsearch-model provides some nice abstractions for us
- Adds callbacks for model indexing
- easy importing of models into ES
- set up an indexes and there mappings in ruby
- multi model search
- set index name and document type
- paginatation of results
However it does allow us to configure a client elasticsearch-rails/elasticsearch-model at master · elastic/elasticsearch-rails · GitHub if your version of elasticsearch-ruby follows the same api i wonder if we could drop this in here?
If this isnt possible, it will mean that we will have to re write all this stuff as out of the box elasticsearch ruby is just a client for ES which would be quite an overhead for us as currently we have a working implementation.