Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 428 Bytes

dependency.md

File metadata and controls

18 lines (12 loc) · 428 Bytes

安装

Maven Repository

Elasticsearch Java API包已经上传到 Maven Central

pom.xml文件中增加:

transport 版本号最好就是与Elasticsearch版本号一致。

<dependency>
    <groupId>org.elasticsearch.client</groupId>
    <artifactId>transport</artifactId>
    <version>5.6.3</version>
</dependency>