图例1:
图例2:
{"mappings": {"properties": {"title": { # 字段名称"type": "text", # 字段类型"analyzer": "english", # 字段分词器"fields": { # 多字段域,固定写法"std": { # 子字段名称"type": "text", # 子字段类型"analyzer": "standard" # 子字段分词器}}}}}
}
第一种:集成RestHighLevelClient(优先)
Java从入门到架构师_Elasticsearch-CSDN博客(优质)
重学Elasticsearch第6章 : SpringBoot整合RestHighLevelClient_es集群resthighlevelclient springboot-CSDN博客
Springboot中使用Elasticsearch(部署+使用+讲解 最完整)_spring boot elasticsearch-CSDN博客
Springboot引入elasticsearch-rest-high-level-client_springboot elasticsearch-rest-high-level-client-CSDN博客
第二种:集成spring自带的ES startar
重学Elasticsearch第7章 : SpringBoot整合SpringDataElasticsearch_spring data elasticsearch7-CSDN博客
参考博客:
【Elasticsearch】Elasticsearch索引创建与管理详解_es创建索引-CSDN博客
ElasticSearch:模糊查询,是match、fuzzy还是wildcard?™和SQL中like的区别_opensearch 模糊查询是用match吗?-CSDN博客
es之must、filter、must_not、should_es must-CSDN博客
Elasticsearch的DSL和在RestClient中的应用_elasticsearch fuzzy 和 match的区别-CSDN博客