与轨道集成的新弹性搜索宝石宝石 [英] The new elasticsearch-ruby gem integrating with rails

查看:117
本文介绍了与轨道集成的新弹性搜索宝石宝石的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将新的弹性搜索宝石与红宝石集成到轨道上,轮胎是伟大的,但是从两个月后退休,并被新的宝石取而代之,然而,还没有集成功能。



所有的教程使用轮胎,但现在,我们如何使用rails与Elasticsearch?

解决方案

另外还有一个名为searchkick的宝石,它将弹性搜索与Rails集成起来:



https://github.com/ankane/searchkick



它有一些很酷的功能,可以索引数据通过耙子任务。


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?

解决方案

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.

这篇关于与轨道集成的新弹性搜索宝石宝石的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆