# Search Result order for filtered queries

**URL:** <https://discuss.elastic.co/t/search-result-order-for-filtered-queries/132198>\
**Category:** Elasticsearch\
**Created:** [May 16, 2018, 7:00pm UTC](https://discuss.elastic.co/t/search-result-order-for-filtered-queries/132198 "2018-05-16T19:00:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gauravbhatt13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gauravbhatt13/32/11414_2.png) [@gauravbhatt13](https://discuss.elastic.co/u/gauravbhatt13)\
**Post date:** [May 16, 2018, 7:00pm UTC](https://discuss.elastic.co/t/search-result-order-for-filtered-queries/132198/1 "2018-05-16T19:00:57Z")

</div>

One of our customer was using Lucene indexes for type ahead usecase. Now we decided to move to ES where we are using 'Filtered' queries and because of which the search result order has changed from what we were getting earlier. Our problem is that we have no certain idea of the order in which ES would return search results with Filtered query. Earlier we thought it should be the order in which it would index the documents but found that the index order is not followed.

---

<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:** [June 13, 2018, 7:01pm UTC](https://discuss.elastic.co/t/search-result-order-for-filtered-queries/132198/2 "2018-06-13T19:01:05Z")

</div>

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