POST /test_index_2022/_search
{
"query": {
"bool": {
"must": [
{
"range": {
"timestamp": {
"gte": "1646064007523",
"lte": "1646064009523"
}
}
},
{
"term": {
"key": "test_k1"
}
}
]
}
},
"size": 2
}
elasticsearch(9) : 范围及精确组合查询
最新推荐文章于 2024-01-21 03:31:16 发布