Show More
@@ -33,10 +33,12 b' class ReportStatService(BaseService):' | |||
|
33 | 33 | "aggs": { |
|
34 | 34 | "sub_agg": {"value_count": {"field": "tags.group_id.values"}} |
|
35 | 35 | }, |
|
36 |
"filter": |
|
|
37 |
|
|
|
38 |
{" |
|
|
39 | ], | |
|
36 | "filter": { | |
|
37 | "and": [ | |
|
38 | {"terms": {"resource_id": [resource_id]}}, | |
|
39 | {"exists": {"field": "tags.group_id.values"}}, | |
|
40 | ] | |
|
41 | }, | |
|
40 | 42 | } |
|
41 | 43 | }, |
|
42 | 44 | "query": { |
General Comments 0
You need to be logged in to leave comments.
Login now