# Incorrect sum while aggregating in elasticsearch for one particular index

**URL:** <https://discuss.elastic.co/t/incorrect-sum-while-aggregating-in-elasticsearch-for-one-particular-index/29305>\
**Category:** Elasticsearch\
**Created:** [September 15, 2015, 9:01am UTC](https://discuss.elastic.co/t/incorrect-sum-while-aggregating-in-elasticsearch-for-one-particular-index/29305 "2015-09-15T09:01:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![colings86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/colings86/32/44960_2.png) [@colings86](https://discuss.elastic.co/u/colings86)\
**Post date:** [September 15, 2015, 9:06am UTC](https://discuss.elastic.co/t/incorrect-sum-while-aggregating-in-elasticsearch-for-one-particular-index/29305/2 "2015-09-15T09:06:36Z")

</div>

Can you give an example of a correct response (from one of the other indices) and an example of the erroneous response too? Also can you show the mappings for the index which is producing the errors.

I suspect you are hitting the same issue as described in this post: [Sum Aggregation returning very small, unrelated values](https://discuss.elastic.co/t/sum-aggregation-returning-very-small-unrelated-values/26890/3)

If the responses and mapping are long then please paste them into a [gist](http://gist.github.com) and link that here rather than filling this topic will large amounts of json.

---

_[View the full topic](https://discuss.elastic.co/t/incorrect-sum-while-aggregating-in-elasticsearch-for-one-particular-index/29305)._
