简体   繁体   English

elasticsearch-rails VS(重新)轮胎宝石(Elasticsearch和Rails 3.2)

[英]elasticsearch-rails VS (re)tire gem (Elasticsearch and Rails 3.2)

I want to integrate Elasticsearch with my Rails 3.2 app. 我想将Elasticsearch与我的Rails 3.2应用程序集成。 I used Tire before and it was perfect and straight forward, now it is retired based on its documentation 我之前使用过Tire ,它非常完美和直接,现在根据它的文档退役了

NOTICE: This library has been renamed and retired in September 2013 (read the explanation). 注意:此库已于2013年9月重命名并已停用(请阅读说明)。 It is not considered compatible with Elasticsearch 1.x. 它与Elasticsearch 1.x不兼容。

and it refers to the new elasticsearch suite of gems , but is it mature enough? 它指的是新的宝石弹性研究套件 ,但它是否足够成熟? has a community? 有一个社区? tutorials and how tos? 教程和怎么样? which led me to this question and answer of karmi himself! 这让我想到了karmi自己的问题答案 Now I am confused, which gem to use? 现在我很困惑,使用哪种宝石?

We need a gem that is fully maintained and provides full implementation of elasticsearch features; 我们需要一个完全维护的gem,并提供弹性搜索功能的完整实现; as my project is a long term one and we will be exploiting the search engine heavily. 因为我的项目是长期的,我们将大量利用搜索引擎。

Any help is appreciated! 任何帮助表示赞赏!

The Elasticsearch suite of gems is developed and maintained by Elasticsearch as the official Ruby/Rails client. Elasticsearch宝石套件由Elasticsearch作为官方Ruby / Rails客户端开发和维护。 Please note that karmi is the developer of the new suite for Ruby. 请注意, karmi是Ruby新套件的开发人员。 Please read the blog post - release the clients! 请阅读博客文章 - 发布客户端! ruby, python, php, perl for more details. ruby,python,php,perl了解更多详情。

Some Highlights 一些亮点

Tire managed to solve many issues for a nice Ruby and Rails integration, and it also managed to make some seriously bad decisions. Tire设法解决了许多问题,以实现一个很好的Ruby和Rails集成,并且它还设法做出了一些非常糟糕的决定。 Today marks a fresh start for me, and for Ruby users of Elasticsearch. 今天标志着我和Elasticsearch的Ruby用户的新起点。 Today, we're releasing a suite of clients with common design and semantics, which aims to provide a solid foundation for further extensions, integrations and experiments. 今天,我们发布了一套具有通用设计和语义的客户端,旨在为进一步扩展,集成和实验提供坚实的基础。

... ...

If you liked Tire, you can be sure that all the convenience for painless Rails integration will come soon. 如果您喜欢Tire,那么您可以确保轻松实现无痛Rails集成的所有便利。 If you hated Tire, I'd like to invite you to kick the tires on the new Ruby client. 如果你讨厌Tire,我想邀请你在新的Ruby客户端上发挥作用。 I took great care to avoid all the bad decisions of Tire, and make the library — or, in fact a collection of three libraries — as modular, extensible and robust as much as I could. 我非常谨慎地避免了Tyre的所有错误决定,并且尽可能地将库 - 或者实际上是三个库的集合 - 变为模块化,可扩展和健壮。 Your feedback, opinions and critique — either via Github issues, via IRC or via e-mail — is most welcome! 您的反馈,意见和批评 - 通过Github问题,通过IRC或通过电子邮件 - 是非常受欢迎的!

... ...

Because we wrote these clients and they are tested by us, we can provide official support for them. 因为我们编写了这些客户并且我们对它们进行了测试,所以我们可以为它们提供官方支持。 When bugs are found, we can fix them quickly – it's our job. 当发现错误时,我们可以快速解决它们 - 这是我们的工作。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM