# I have not found answer in ES help. Is post filter executed before sorting or after?

**URL:** <https://discuss.elastic.co/t/i-have-not-found-answer-in-es-help-is-post-filter-executed-before-sorting-or-after/37731>\
**Category:** Elasticsearch\
**Created:** [December 22, 2015, 5:12am UTC](https://discuss.elastic.co/t/i-have-not-found-answer-in-es-help-is-post-filter-executed-before-sorting-or-after/37731 "2015-12-22T05:12:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![justnj](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@justnj](https://discuss.elastic.co/u/justnj)\
**Post date:** [December 22, 2015, 5:12am UTC](https://discuss.elastic.co/t/i-have-not-found-answer-in-es-help-is-post-filter-executed-before-sorting-or-after/37731/1 "2015-12-22T05:12:36Z")

</div>

Is post filter executed before sorting or after?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 22, 2015, 6:56am UTC](https://discuss.elastic.co/t/i-have-not-found-answer-in-es-help-is-post-filter-executed-before-sorting-or-after/37731/2 "2015-12-22T06:56:24Z")

</div>

Before, that is what the post implies 🙂

---

<div class="post-metadata">

**Author:** ![mvieghofer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvieghofer/32/10214_2.png) [@mvieghofer](https://discuss.elastic.co/u/mvieghofer)\
**Post date:** [October 5, 2016, 7:53am UTC](https://discuss.elastic.co/t/i-have-not-found-answer-in-es-help-is-post-filter-executed-before-sorting-or-after/37731/3 "2016-10-05T07:53:09Z")

</div>

Hi warkolm,  
is this answer serious? I'm a little confused right now...

---

<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 5, 2017, 10:14pm UTC](https://discuss.elastic.co/t/i-have-not-found-answer-in-es-help-is-post-filter-executed-before-sorting-or-after/37731/4 "2017-07-05T22:14:54Z")

</div>

Closed on July 5, 2017, 10:14pm UTC


