# Filtering queryStringQuery by exact match first (Nest)

**URL:** <https://discuss.elastic.co/t/filtering-querystringquery-by-exact-match-first-nest/169267>\
**Category:** Elasticsearch\
**Created:** [February 20, 2019, 5:14pm UTC](https://discuss.elastic.co/t/filtering-querystringquery-by-exact-match-first-nest/169267 "2019-02-20T17:14:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [February 21, 2019, 2:12am UTC](https://discuss.elastic.co/t/filtering-querystringquery-by-exact-match-first-nest/169267/2 "2019-02-21T02:12:06Z")

</div>

@Abderrahmane_Saadoun, please can you format your code, using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

There's a live preview panel for you to see how the formatting looks before posting.

---

_[View the full topic](https://discuss.elastic.co/t/filtering-querystringquery-by-exact-match-first-nest/169267)._
