elasticsearch/elasticsearch — pull request #7313 by colings86 (2014-08-18 14:25:09+00:00)
Title: Aggregations: Fixes pre and post offset serialisation for histogram aggs

Changes the serialisation of pre and post offset to use Long instead of VLong so that negative values are supported. This actually only showed up in the case where minDocCount=0 as the rounding is only serialised in this case.

Closes #7312