The new elasticsearch-ruby gem integrating with rails
Asked Answered
P

3

5

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?

Pointdevice answered 31/10, 2013 at 10:34 Comment(0)
D
6

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.

Debatable answered 25/11, 2013 at 12:11 Comment(1)
That looks nice. However, it should be noted, that this gem depends on (re)tire.Myrtia
Q
13

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.

Quaquaversal answered 31/10, 2013 at 11:10 Comment(2)
but tire is not maintaining now? it's will be easy to change from tire o the new gem in futur?Pointdevice
Tire is being maintained, see the documentation. The migration from Tire to the new gem will be easy.Quaquaversal
D
6

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.

Debatable answered 25/11, 2013 at 12:11 Comment(1)
That looks nice. However, it should be noted, that this gem depends on (re)tire.Myrtia
L
1

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

Laud answered 25/1, 2014 at 2:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.