# Facets but no count needed

**URL:** <https://discuss.elastic.co/t/facets-but-no-count-needed/11226>\
**Category:** Elasticsearch\
**Created:** [March 20, 2013, 5:45pm UTC](https://discuss.elastic.co/t/facets-but-no-count-needed/11226 "2013-03-20T17:45:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinh](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@vinh](https://discuss.elastic.co/u/vinh)\
**Post date:** [March 20, 2013, 5:45pm UTC](https://discuss.elastic.co/t/facets-but-no-count-needed/11226/1 "2013-03-20T17:45:53Z")

</div>

Is it possible to do a facet search to get all values in a particular field for a set of documents, but without needing the counts? For example, facet to get all unique tags across a set of documents, but don't bother doing the counts?

I know I can facet and just ignore the counts, but I assume it would be faster if ES knew ahead of time not to bother counting. Like just dump directly in a hashmap, and don't do a lookup prior to each insert to increment counts.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:45am UTC](https://discuss.elastic.co/t/facets-but-no-count-needed/11226/2 "2017-07-06T02:45:34Z")

</div>


