# Aggregation value\_count

**URL:** <https://discuss.elastic.co/t/aggregation-value-count/71120>\
**Category:** Elasticsearch\
**Created:** [January 10, 2017, 4:29pm UTC](https://discuss.elastic.co/t/aggregation-value-count/71120 "2017-01-10T16:29:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidn](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@davidn](https://discuss.elastic.co/u/davidn)\
**Post date:** [January 10, 2017, 4:29pm UTC](https://discuss.elastic.co/t/aggregation-value-count/71120/1 "2017-01-10T16:29:02Z")

</div>

GET firebase\*/\_search  
{  
"aggs":  
{  
"RS\_Id\_Count" : { "value\_count" : {"field" : "RS\_Id"}}  
}  
}

The RS\_Id index field shows as not aggregatable. RS\_Id\_Count is always 0

---

<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:** [February 7, 2017, 4:29pm UTC](https://discuss.elastic.co/t/aggregation-value-count/71120/2 "2017-02-07T16:29:04Z")

</div>

Closed on February 7, 2017, 4:29pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
