0%

Elasticsearch汇总

Basic Knowledge

spring-data-elasticsearch官方文档

Elasticsearch Operations

  • IndexOperations defines actions on index level like creating or deleting an index.
  • DocumentOperations defines actions to store, update and retrieve entities based on their id.
  • SearchOperations define the actions to search for multiple entities using queries
  • ElasticsearchOperations combines the DocumentOperations and SearchOperations interfaces.

Vue浏览器客户端

插件下载

查询类型

term

term:代表完全匹配,即不进行分词器分析,文档中必须包含整个搜索的词汇

术语

1
PB是数据存储容量的单位,它等于2的50次方个字节,或者在数值上大约等于1000个TB。

Problem Solution

spring-data-elasticsearch 版本冲突问题

想用spring-data-elasticsearch4.1.1版本发现依赖的springboot版本太低,要升级到2.4才可以,不然即使spring-data-elasticsearch指定高版本也会被自动回退到3.1.10。