# How are matched\_queries ordered?

**URL:** <https://discuss.elastic.co/t/how-are-matched-queries-ordered/225581>\
**Category:** Elasticsearch\
**Created:** [March 29, 2020, 8:11pm UTC](https://discuss.elastic.co/t/how-are-matched-queries-ordered/225581 "2020-03-29T20:11:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhijith\_chandran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhijith_chandran/32/60470_2.png) [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Post date:** [March 29, 2020, 8:11pm UTC](https://discuss.elastic.co/t/how-are-matched-queries-ordered/225581/1 "2020-03-29T20:11:35Z")

</div>

Hi,  
I wanted to know in what order are the `matched_queries` returned when we specify `_name`? Is it in order of relevance?

---

<div class="post-metadata">

**Author:** ![Francois\_Guillemot1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_guillemot1/32/65489_2.png) [@Francois\_Guillemot1](https://discuss.elastic.co/u/Francois_Guillemot1)\
**Post date:** [April 1, 2020, 1:40pm UTC](https://discuss.elastic.co/t/how-are-matched-queries-ordered/225581/2 "2020-04-01T13:40:45Z")

</div>

No response ? I'm interest in same question.  
How to order not sort but order after query?

---

<div class="post-metadata">

**Author:** ![abhijith\_chandran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhijith_chandran/32/60470_2.png) [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Post date:** [April 3, 2020, 6:56am UTC](https://discuss.elastic.co/t/how-are-matched-queries-ordered/225581/3 "2020-04-03T06:56:33Z")

</div>

No response @Francois_Guillemot1

---

<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:** [May 1, 2020, 6:56am UTC](https://discuss.elastic.co/t/how-are-matched-queries-ordered/225581/4 "2020-05-01T06:56:33Z")

</div>

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