New elasticearch ruby ​​stone integrated with rails

Is there any way to integrate the new Elasticsearch stone for rubies into the rails, the tire is excellent, but has retired from two months and replaced by a new gem, however there are no integration functions with rails yet.

all tutorials use tires, but now, how can we use rails with Elasticsearch?

+4
ruby-on-rails elasticsearch tire
source share
3 answers

There is another gem called search that combines elasticsearch with Rails:

https://github.com/ankane/searchkick

It has some really interesting features and can index data using rake tasks.

+6
source share

Works full-featured Rails integration. If you need high-level integration and don’t want to provide it yourself, you can stick with Tire.

+12
source share

I have a minimal implementation that I am currently running to prototype / evaluate ElasticSearch, which has not run any wrench in the job for a very focused prototype run in the last 2 days ...

So far, there is little or no verification of the answer to the question, since our workloads heavily use Resque, and we rely on Resque to capture and determine where we need to fine-tune error handling.

https://gist.github.com/TobiG77/8610788

+1
source share

All Articles