query -> range 语句 字段是level
gte是大于等于
gt是大于
lte是小于等于
lt是小于
gt: greater than 大于
gte: greater than or equal 大于等于
lt: less than 小于
lte: less than or equal 小于等于
GET /user/_search
{
"query":{
"range":{
"level":{"gte": 5}
}
}
}
query -> range 语句 字段是level
gte是大于等于
gt是大于
lte是小于等于
lt是小于
gt: greater than 大于
gte: greater than or equal 大于等于
lt: less than 小于
lte: less than or equal 小于等于
GET /user/_search
{
"query":{
"range":{
"level":{"gte": 5}
}
}
}