Search code examples
ruby-on-railselasticsearchtire

The new elasticsearch-ruby gem integrating with rails


there is any way to integrate the new Elasticsearch gem for ruby to rails, the tire was great but retired since two month and replaced by the new gem, however, no integrating functions with rails yet.

all the tutorial use tire, but now, how we can using rails with Elasticsearch?


Solution

  • There is another gem called "searchkick" that integrates elasticsearch with Rails:

    https://github.com/ankane/searchkick

    It has some really cool features and can index data through rake tasks.