![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
elasticsearch
天涯无剑客
无畏风雨,展翅飞翔。
展开
-
elasticsearch bool 的坑
{ “query”: { “bool”: { “must_not”: [ { “term”: { “item_type”: 4 } }, { “term”: { “can_see”: true原创 2017-07-06 10:17:08 · 2567 阅读 · 0 评论 -
pyes Search 的sort用法
pyes search 的用法 es = ES(server="localhost") index='test_index' ITEM_TYPE='test_type' q={"match_all":{}} offset = 0 size= 100 sort 排序: 升序:'price:asc' 降序:'price:desc' 多个排序条件:'price:asc,time:desc' es.sear原创 2017-06-15 10:01:58 · 380 阅读 · 0 评论