Aggregation with terms and cardinality deliver different results

See FAB principle which is one of those "pick 2 of 3" conundrums. In a Big distributed system you need to pick between completely Accurate or Fast responses. Aggregations are tuned for FB but if you really need complete accuracy there are ways of breaking up single requests into many slower calls. It's always going to involve a trade-off whatever technology you use.

3 Likes