1、学习网站
这个是elasticsearch的官方API
https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.7/java-rest-high.html
2、集成springboot
一般我们开发都是集成springboot elasticsearch
使用elasticsearchrepository和ElasticSearchTemplate进行开发,具体API如下:
https://docs.spring.io/spring-data/elasticsearch/docs/4.1.5/reference/html/#preface.requirements