简体   繁体   English

如何将Elasticsearch升级到最新版本

[英]How do I Upgrade Elasticsearch to the latest version

I try to run a search on my rails project and I get this error Searchkick::UnsupportedVersionError and This version of Searchkick requires Elasticsearch 1.0 or greater 我尝试在我的rails项目上运行搜索,但出现此错误Searchkick::UnsupportedVersionError并且This version of Searchkick requires Elasticsearch 1.0 or greater

I have checked all over Stackoverflow and no one seems to have this answer. 我已经检查了所有Stackoverflow,似乎没有人得到这个答案。 Any help? 有什么帮助吗?

From searchkicks' github readme 来自searchkicks的github自述文件

For Elasticsearch 0.90, use version 0.6.3 and this readme. 对于Elasticsearch 0.90,请使用版本0.6.3和此自述文件。

Consider either updating elasticsearch on your machine, you can download it from http://www.elasticsearch.org/overview/elkdownloads/ , if you are using ubuntu the easiest way is to download and install DEB package, for RHEL/fedora (and similar) RPM package, for OS X either zip/tar archive and follow instructions. 考虑在您的机器上更新elasticsearch,您可以从http://www.elasticsearch.org/overview/elkdownloads/下载,如果您使用的是ubuntu,最简单的方法是下载并安装DEB软件包,用于RHEL / fedora(以及类似的)RPM软件包,用于OS X的zip / tar存档并按照说明进行操作。

Alternatively for OS X you can use 另外,对于OS X,您可以使用

brew install elasticsearch

according to this http://red-badger.com/blog/2013/11/08/getting-started-with-elasticsearch/ 根据此http://red-badger.com/blog/2013/11/08/getting-started-with-elasticsearch/

or consider using older version of searchkick (not recommended) :) 或考虑使用旧版本的searchkick(不推荐):)

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

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