在我的自制软件中,我只能访问solr 4.9.0,但它已从repo中删除,所以我看到404错误:
bmalets:~ bmalets$ brew install solr ==> Downloading http://www.apache.org/dyn/closer.cgi?path=lucene/solr/4.9.0/solr-4.9.0.tgz ==> Best Mirror http://apache.ip-connect.vn.ua/lucene/solr/4.9.0/solr-4.9.0.tgz curl: (22) The requested URL returned error: 404 Not Found Error: Failed to download resource "solr" Download failed: http://apache.ip-connect.vn.ua/lucene/solr/4.9.0/solr-4.9.0.tgz
现在solr 4.10.0版本已经可以使用了,但brew看不到它...因为在每个turtorial for solr我都看到'在1st-run brew install solr
'.我不希望将来更新/升级有问题...如何在我的mac上安装brew来安装新的Solr版本?
ps Homebrew 0.9.5,OS_X 10.9.5
运行brew edit solr
以编辑solr公式
使用v4.10.0的公式替换版本4.9.0的旧公式
跑 brew install solr
跑 solr start
运行
brew update
然后
brew install solr
为我修复了这个错误