beyfort
beyfort

Reputation: 63

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?

Upvotes: 5

Views: 3772

Answers (3)

tobig77
tobig77

Reputation: 321

I have a minmimal implementation that I'm currently running for prototyping / evaluation of ElasticSearch, which has not thrown up any spanner in the works for a very focused prototyping run for the past 2 days ...

There's little or no error response checking yet, since our workloads heavily use Resque and we rely on Resque to capture and identify where we need to fine tune error handling.

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

Upvotes: 1

wael34218
wael34218

Reputation: 4930

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.

Upvotes: 6

karmi
karmi

Reputation: 14409

A full-featured Rails integration is being worked on. If you want the high-level integration, and you don't want to provide it yourself, you can stick with Tire.

Upvotes: 13

Related Questions