We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
例如这种嵌套子聚合,用sql的话是不是不好搞? 官方文档如下:https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html
"aggs": { "dimtimeyear": { "terms": { "size": 10, "field": "dimensions.time.year", "order": { "_term": "asc" } }, "aggs": { "dimtimemonth": { "terms": { "size": 10, "field": "dimensions.time.month", "order": { "_term": "asc" } }, "aggs": { "dimtimeday": { "terms": { "size": 10, "field": "dimensions.time.day", "order": { "_term": "asc" } }, "aggs": { "dimtimeweek": { "terms": { "size": 10, "field": "dimensions.time.week", "order": { "_term": "asc" } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
例如这种嵌套子聚合,用sql的话是不是不好搞?
官方文档如下:https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html
The text was updated successfully, but these errors were encountered: