elasticsearch查询方式

1.query string

a).get /index/type/_search  ===>>查询所有
b).get /index/type/_search?q=filed:value&sort=filed:desc  ===>> 以某个属性的值查询,并排序

  

 

猜你喜欢

转载自www.cnblogs.com/m-bianbian/p/9006191.html