Request for Elasticsearch-rails fork

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 https://github.com/elastic/elasticsearch-rails/tree/master/elasticsearch-model#the-elasticsearch-client 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.

1 Like