GET /logstash-jsy/nginx-access/_search
{
"size": 0,
"query": {
"match": {
"geoip.city_name": {
"query": "Chaoyang Nanjing",
"operator": "or"
}
}
},
"aggs": {
"all_interests": {
"terms": {
"field": "geoip.city_name.keyword"
}
}
}
}
这个脚本中or那个位置对应的 query 对应的java api 应该如何写?
1 个回复
[已注销]
赞同来自: clean