0

ElasticSearch 使用教程

 3 years ago
source link: https://www.jansora.com/notes/628
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

ElasticSearch 使用教程

官方教程 : https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high.html

参考 使用Java High Level REST Client操作elasticsearch

客户端版本号和 ElasticSearch 版本号是一一对应的.

MAVEN

<dependency>
    <groupId>org.elasticsearch.client</groupId>
    <artifactId>elasticsearch-rest-high-level-client</artifactId>
    <version>7.10.2</version>
</dependency>

Gradle

dependencies {
    compile 'org.elasticsearch.client:elasticsearch-rest-high-level-client:7.10.2'
}

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK