# Aggregations not working when upgrading from 1.3.4 to 1.7.0

**URL:** <https://discuss.elastic.co/t/aggregations-not-working-when-upgrading-from-1-3-4-to-1-7-0/25813>\
**Category:** Elasticsearch\
**Created:** [July 17, 2015, 3:34pm UTC](https://discuss.elastic.co/t/aggregations-not-working-when-upgrading-from-1-3-4-to-1-7-0/25813 "2015-07-17T15:34:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VsLoureiro](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@VsLoureiro](https://discuss.elastic.co/u/VsLoureiro)\
**Post date:** [July 17, 2015, 3:34pm UTC](https://discuss.elastic.co/t/aggregations-not-working-when-upgrading-from-1-3-4-to-1-7-0/25813/1 "2015-07-17T15:34:20Z")

</div>

Hi guys,

My aggregations, at least some of them, stopped working after I upgraded from version 1.3.4 to version 1.7.0  
The mappings are exactly the same and so are the indexed documents.

This simple aggregation doesn't return any results:

{  
"aggs": {  
"agg-test": {  
"terms": {  
"field": "provider.id"  
}  
}  
}  
}

Does anyone have a clue about what is happening? I don't see any breaking changes from previous versions to the latest regarding aggregations.

Thanks,

Vitor

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:00am UTC](https://discuss.elastic.co/t/aggregations-not-working-when-upgrading-from-1-3-4-to-1-7-0/25813/2 "2017-07-06T00:00:45Z")

</div>


