Elasticsearch学习资料

和Spring集成

目前release的版本不支持2.2.0,目前只有Snapshot的版本。

<dependency>
    <groupId>org.springframework.data</groupId>
    <artifactId>spring-data-elasticsearch</artifactId>
    <version>2.0.0.BUILD-SNAPSHOT</version>
</dependency>
  
<repository>
    <id>spring-libs-snapshot</id>
    <name>Spring Snapshot Repository</name>
</repository>

插件

bin/plugin install lmenezes/elasticsearch-kopf

Docs

官方文档:https://www.elastic.co/guide/index.html

Java Api:https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/index.html

Java Api 中文(比较老):https://www.gitbook.com/book/endymecy/elasticsearch-guide-chinese/details

Java Api Demo 中文:http://blog.csdn.net/geloin/article/category/1314311

原文地址:https://www.cnblogs.com/ljsong/p/8692959.html