# Ranking in count API

**URL:** <https://discuss.elastic.co/t/ranking-in-count-api/208342>\
**Category:** Elasticsearch\
**Created:** [November 18, 2019, 3:38pm UTC](https://discuss.elastic.co/t/ranking-in-count-api/208342 "2019-11-18T15:38:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![woutermostard](https://avatars.discourse-cdn.com/v4/letter/w/58f4c7/32.png) [@woutermostard](https://discuss.elastic.co/u/woutermostard)\
**Post date:** [November 18, 2019, 3:38pm UTC](https://discuss.elastic.co/t/ranking-in-count-api/208342/1 "2019-11-18T15:38:56Z")

</div>

Does the count API perform any sorts of ranking? I thought that it wouldn't in order to improve performance but in the documentation it says that there is a `min_score` parameter. if the count API does perform ranking, what is the use of it? Why not just perform a filter query and select the count from there?

---

<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:** [December 16, 2019, 3:38pm UTC](https://discuss.elastic.co/t/ranking-in-count-api/208342/2 "2019-12-16T15:38:59Z")

</div>

Closed on December 16, 2019, 3:38pm UTC

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