完成查询全部索引   get   http://47.91.217.163:9299/_cat/indices

使用postman完成查询工作

1.使用  match进行查寻  match 类似于在mysql中的like, 主要是用于对

    使用postman完成查询工作

2.term   查询电话号码等于  888888888的数据

    使用postman完成查询工作

使用postman完成查询工作

3. range  适用于  

        数字类型 ( Numeric )

long, integer, short, byte, double, float,half_float,scaled_float  区间值得数据查询


        使用postman完成查询工作

4. bool  复杂查询的启动关键词

    a.must  相当于  and  和

    使用postman完成查询工作

b. should

    使用postman完成查询工作

c. must  should  并行去查询

使用postman完成查询工作

d  should查询中也可以存放 must查询、

filter

filter  所有和日期,金额相关的数据(数值和日期相关类型的数据)写到filter中去运行查找,明显要比query快很多

相关文章:

  • 2021-09-05
  • 2022-12-23
  • 2021-10-12
  • 2021-11-05
  • 2022-12-23
  • 2021-10-31
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2021-10-16
  • 2021-09-30
  • 2021-08-18
  • 2021-07-16
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
相关资源
相似解决方案