代码如下:
{
"query": {
"bool": {
"must": {
"match_all": {}
},
"filter": [{
"range": {
"created": {
"from": null,
"to": 1544930087000,
"include_lower": true,
"include_upper": false
}
}
}, {
"term": {
"user_id": "1352005_p"
}
}, {
"term": {
"status": 1
}
}]
}
}
}
去掉range后只要10ms左右,加上要3000ms左右,大神们有没有优化方案。
1 个回复
rochy - rochy_he
赞同来自: