使用postman完成查询工作

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


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

    

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

    


3. range  适用于  

        数字类型 ( Numeric )

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


        

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

    a.must  相当于  and  和

    

b. should

    

c. must  should  并行去查询


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

filter

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

猜你喜欢

转载自blog.csdn.net/qq_42533216/article/details/80795869