# Query doesn't show right result

**URL:** <https://discuss.elastic.co/t/query-doesnt-show-right-result/192858>\
**Category:** Elasticsearch\
**Created:** [July 30, 2019, 9:39am UTC](https://discuss.elastic.co/t/query-doesnt-show-right-result/192858 "2019-07-30T09:39:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladpov](https://avatars.discourse-cdn.com/v4/letter/v/8c91f0/32.png) [@Vladpov](https://discuss.elastic.co/u/Vladpov)\
**Post date:** [July 30, 2019, 9:39am UTC](https://discuss.elastic.co/t/query-doesnt-show-right-result/192858/1 "2019-07-30T09:39:12Z")

</div>

Hello everybody ! ✌

I sent a log message to elasticsearch and as we can see in kibana it has the following format:

 ![Sn%C3%ADmek%20obrazovky%20(46)](https://us1.discourse-cdn.com/elastic/original/3X/a/2/a2722f028ed78aced62c8e553a28b2d4aaf605f4.png)

So we know that there is the field num1 number and field suffix which has value mt or dn. Despite the fact this is all there when I write query to find everything having suffix "dn" it doesn't show me the num1 number either a lot of different numbers as I can see as well.

 ![Sn%C3%ADmek%20obrazovky%20(49)](https://us1.discourse-cdn.com/elastic/original/3X/9/2/923766e1ac4b79dda2540ea750835eee304b7fac.png)

Does anyone have an idea what could be the reason of this trouble?

Thank you in advance for any help ! 🙏

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [July 30, 2019, 10:09am UTC](https://discuss.elastic.co/t/query-doesnt-show-right-result/192858/2 "2019-07-30T10:09:14Z")

</div>

> [@Vladpov](#):
>
> when I write query to find everything

Your query is for the first 10 documents only. That's controlled by the `size` setting in the query, defaults to 10.

---

<div class="post-metadata">

**Author:** ![Vladpov](https://avatars.discourse-cdn.com/v4/letter/v/8c91f0/32.png) [@Vladpov](https://discuss.elastic.co/u/Vladpov)\
**Post date:** [July 30, 2019, 10:25am UTC](https://discuss.elastic.co/t/query-doesnt-show-right-result/192858/3 "2019-07-30T10:25:43Z")

</div>

Ahahah thank you and sorry for that topic 😊

---

<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:** [August 27, 2019, 10:25am UTC](https://discuss.elastic.co/t/query-doesnt-show-right-result/192858/4 "2019-08-27T10:25:44Z")

</div>

Closed on August 27, 2019, 10:25am UTC

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