elasticsearch/elasticsearch — pull request #7279 by jpountz (2014-08-14 12:45:55+00:00)
Title: Aggregations: Merge LongTermsAggregator and DoubleTermsAggregator.

These two aggregators basically do exactly the same thing, they just interpret
bytes differently. This refactoring found an (unreleased) bug in the long terms
aggregator which didn't work correctly with duplicate values.