Open Thenkei opened 1 year ago
In order to resolve this and ease future development we are gonna:
Write an aggregation integration test suite. Goal: Reusable at some point by every DS.
Rewrite the whole code.
Document query interface limitation regarding ES Goal: Let users use the native driver (elastic search) for complex aggregation.. https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html
The following snippets should create an aggregate boolean query
Expected resulting
aggs
query:Recap
COUNT
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html
Should create query
Group by COUNT
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html
Should create query with limit = search.max_buckets
Multiple groups - To confirm ???