elasticsearch/elasticsearch — pull request #5452 by jpountz (2014-03-18 13:57:28+00:00)
Title: Fix cardinality memory-usage considerations.

Default precision was computed based on the number of MULTI_BUCKET parents
instead of PER_BUCKET.

The ordinals-based execution mode was almost always used although ordinals
might have non-negligible memory usage compared to the counters.