为什么不包括ES 7客户端?

时间:2019-04-13 21:01:32

标签: java elasticsearch gradle

我正在尝试在我的春季应用程序中包括ES HL Rest Client。在我的gradle中,我有:

`compile 'org.elasticsearch.client:elasticsearch-rest-high-level-client:7.0.0'`

当我看到gradle deps时,我会发现:

--- org.elasticsearch.client:elasticsearch-rest-high-level-client:7.0.0
     +--- org.elasticsearch:elasticsearch:7.0.0 -> 6.4.3
     |    +--- org.elasticsearch:elasticsearch-core:6.4.3
     |    +--- org.elasticsearch:elasticsearch-secure-sm:6.4.3
     |    +--- org.elasticsearch:elasticsearch-x-content:6.4.3
     |    |    +--- org.elasticsearch:elasticsearch-core:6.4.3
     |    +--- org.elasticsearch:elasticsearch-cli:6.4.3
     |    |    \--- org.elasticsearch:elasticsearch-core:6.4.3
     |    \--- org.elasticsearch:jna:4.5.1
     +--- org.elasticsearch.client:elasticsearch-rest-client:7.0.0 -> 6.4.3
     +--- org.elasticsearch.plugin:parent-join-client:7.0.0
     +--- org.elasticsearch.plugin:aggs-matrix-stats-client:7.0.0
     +--- org.elasticsearch.plugin:rank-eval-client:7.0.0
     \--- org.elasticsearch.plugin:lang-mustache-client:7.0.0

当我编译时,似乎找不到7.0中的签名。不知道发生了什么。

0 个答案:

没有答案