文章目录
测试索引
设置mapping字段不创建索引
创建索引(CreatIndexRequest)
判断索引是否存在(GetIndexRequest)
删除索引(DeleteIndexRequest)
测试文档
添加文档(IndexRequest)
判断文档是否存在(GetRequest)
更新文档(UpdateRequest)
删除文档(DeleteRequest)
批量插入(BulkRequest)
查询文档-范围查询(SearchRequest)
查询文档-单条查询(GetRequest需指定id)
本人先关其他文章链接
1.ElasticSearch7.6.x 模板及滚动索引创建及注意事项
https://blog.csdn.net/a924382407/article/details/115082265
2.ElasticSearch的IK分词器
https://blog.csdn.net/a924382407/article/details/117255506
3.ElasticSearch核心概念:倒排索引
https://blog.csdn.net/a924382407/article/details/117255449
4.springboot集成ElasticSearch使用completion实现补全功能
https://blog.csdn.net/a924382407/article/details/115868167
5.ES Restful API讲解使用
https://blog.csdn.net/a924382407/article/details/115085022
6.ES API,使用Kibana的开发工具用例说明
https://blog.csdn.net/a924382407/article/details/115084549