{
"appId": "XXXXX",
"customFields": [
{
"available": true, // 固定值
"name": "userId", // 固定值
"aggregateType": 0, // 固定值
"termsSizeLimit": 10, // 查询数量
"needDistinctCount": true // 是否需要去重
}
],
"searchConditionGroup": {
"conditions": [
// 过滤版本
{
"queryType": "TERMS_WILDCARD",
"terms": [
"999.11600",
"111.13200"
],
"field": "version"
},
// 过滤时间 (毫秒)
{
"field": "crashUploadTime",
"queryType": "RANGE_RELATIVE_DATETIME",
"gte": 604800000
},
// 过滤类型
{
"queryType": "TERMS",
"terms": [
"CRASH" // 固定值
],
"field": "exceptionCategory"
}
]
}
}
{
"status": 200,
"ret": 200,
"code": null,
"data": [
{
"total": 2024896,
"fieldFilterTotal": 2024896,
"distinctCount": 636219,
"name": "userId",
"bucketList": [
{
"key": "A0FEB4B7968BFD2A4FCC43C5141576C0",
"docCount": 79,
"notInLimitedBuckets": false
},
{
"key": "osewR0qmHzLGSmDFE3wPTdAIB3tU",
"docCount": 77,
"notInLimitedBuckets": false
},
{
"key": "6D7CE91BB25DCE154F274E8DB9BA264D",
"docCount": 70,
"notInLimitedBuckets": false
},
{
"key": "F9C1CB4D9CA119444AC02C1C53716569",
"docCount": 69,
"notInLimitedBuckets": false
},
{
"key": "6D5369F87E6F9BFC76D1B8E4DC9DB5E3",
"docCount": 65,
"notInLimitedBuckets": false
},
{
"key": "C4849458D514D5E615771F515446282F",
"docCount": 60,
"notInLimitedBuckets": false
},
{
"key": "OTHERS",
"docCount": 1555590,
"notInLimitedBuckets": true
}
]
}
],
"message": "OK",
"traceId": "e37884b9-c511-4682-9e25-267de4c677f0",
"errorCode": null
}