How can I install Elasticsearch 5.3.1 with homebrew

吃可爱长大的小学妹 提交于 2019-12-10 09:37:12

问题


I have previously install elasticsearch 5.3.1 on my Mac using homebrew. The latest elasticsearch on homebrew is now 5.5.0, so any new team members running the brew install would pick up that version.

I noticed I have some index migration issue from elasticsearch 5.3.1 to 5.5.0, see Delete all elasticsearch indices directly without curl

Since we will be using Amazon elasticsearch service with is on 5.3, can we lock onto a specific version of elasticsearch (say 5.3.1) when we homebrew install?

I don't see the older version (except for 2.4) when I do a brew search

$ brew search elasticsearch
elasticsearch ✔                                      elasticsearch@2.4

回答1:


List your previous installed version of elasticsearch with:

ls /usr/local/Cellar/elasticsearch/

Then switch to the desired version:

brew switch elasticsearch 5.3.1


来源:https://stackoverflow.com/questions/45225432/how-can-i-install-elasticsearch-5-3-1-with-homebrew

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!