ES multi-field combined query
发布时间
阅读量:
阅读量
{
"query": {
"bool": {
"must": [
{
"term": {
"rtype.keyword": "020200"
}
}
]
}
},
"size": 0,
"aggs": {
"app": {
"terms": {
"script": "doc['contact_account_type.keyword'].value +','+doc['friend_account.keyword'].value",
"size": 100000
}
}
}
}
{
"query": {
"bool": {
"must": [
{
"term": {
全部评论 (0)
还没有任何评论哟~
