# Getting different results for the same query

**URL:** <https://discuss.elastic.co/t/getting-different-results-for-the-same-query/295997>\
**Category:** Elasticsearch\
**Created:** [February 1, 2022, 8:20pm UTC](https://discuss.elastic.co/t/getting-different-results-for-the-same-query/295997 "2022-02-01T20:20:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamzahda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hamzahda/32/97937_2.png) [@hamzahda](https://discuss.elastic.co/u/hamzahda)\
**Post date:** [February 1, 2022, 8:20pm UTC](https://discuss.elastic.co/t/getting-different-results-for-the-same-query/295997/1 "2022-02-01T20:20:58Z")

</div>

When I execute this search with Postmn or the Elastic console I get different results as when I do it in a script using axios any ideas..

```auto
{"query":{"exists":{"field":"RefreshOrderNo"}}}

```

I can't share the whole data ecause it has sensitive info however what I have observed is that the axios request returns a response that has kibana indices under hits.hits as the following:  
Axios response:

```auto
_index: '.kibana_-1000252343_peafdpctcms_1'

```

---

<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:** [February 1, 2022, 8:23pm UTC](https://discuss.elastic.co/t/getting-different-results-for-the-same-query/295997/2 "2022-02-01T20:23:14Z")

</div>

Please share the entire query, and the responses you are getting that show the differences.

---

<div class="post-metadata">

**Author:** ![hamzahda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hamzahda/32/97937_2.png) [@hamzahda](https://discuss.elastic.co/u/hamzahda)\
**Post date:** [February 1, 2022, 8:53pm UTC](https://discuss.elastic.co/t/getting-different-results-for-the-same-query/295997/3 "2022-02-01T20:53:24Z")

</div>

I have added more info in the question

---

<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:** [March 1, 2022, 8:54pm UTC](https://discuss.elastic.co/t/getting-different-results-for-the-same-query/295997/4 "2022-03-01T20:54:14Z")

</div>

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