Elasticsearch 2.4.0 与 nutch 1.12 的兼容性

Elasticsearch 2.4.0 compatibilty with nutch 1.12

我们可以将 elasticsearch 2.4.0 与 nutch 1.12 一起使用吗?我直接使用它并在索引时抛出错误。错误类似于:

java.lang.IllegalStateException:从不受支持的版本收到消息:[1.0.0] 最低兼容版本是:[2.0.0]。

之前我使用的是 elasticsearch 1.7。我还使用了 elastic-indexer2 插件:https://github.com/ptorrestr/indexer-elastic2/ 但是 ant 构建失败了。

Nutch 1.x 的主分支适用于 ES 2.3.3. It will be in the next release but for now you can download or clone it from https://github.com/apache/nutch

可能需要对 ivy.xml 和 build.xml 文件进行一些小改动,有关详细信息,请参阅 how to upgrade