GET truth_kol_panel/_search
{
"query": {
"bool": {
"must": [
{
"match_phrase": {
"twText": "http"
}
},{
"term": {
"twMediaType": {
"value": "1"
}
}
}
],"filter": {
"script": {
"script": {
"source": "doc['twRepostsCount'].value + doc['twCommentsCount'].value > 100",
"lang": "painless"
}
}
}
}
}
}
ES 多列字段累加筛选
最新推荐文章于 2022-08-16 11:04:31 发布