# Inconsistent search results

**URL:** <https://discuss.elastic.co/t/inconsistent-search-results/12388>\
**Category:** Elasticsearch\
**Created:** [June 12, 2013, 4:32pm UTC](https://discuss.elastic.co/t/inconsistent-search-results/12388 "2013-06-12T16:32:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anand\_Nalya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anand_nalya/32/571_2.png) [@Anand\_Nalya](https://discuss.elastic.co/u/Anand_Nalya)\
**Post date:** [June 12, 2013, 4:32pm UTC](https://discuss.elastic.co/t/inconsistent-search-results/12388/1 "2013-06-12T16:32:21Z")

</div>

Hi,

I'm testing with a single index with replication and auto mapping creation  
turned off. Strangely, I'm getting different no. of results for a single  
query without any new insertions. I'm not able to reproduce this  
consistently and this problem comes once or twice a week.

Any ideas what might be wrong?

Thanks,  
Annad

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 16, 2013, 5:38pm UTC](https://discuss.elastic.co/t/inconsistent-search-results/12388/2 "2013-06-16T17:38:22Z")

</div>

Hey,

what do you mean with "results for single query without new insertions"  
exactly? You were talking about one index, but not about one shard, or?  
(Always correct me, I am simply assuming stuff which is not mentioned). So  
is it possible, that your query results differ, when you are inserting the  
same data and then try the query?

If this is the issue, you could test either, if this problems happens, when  
all your data is in one shard only as well or take a look at the  
dfs\_query\_and\_fetch search type option, see

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

If the both options above do not solve your problem, can you provide any  
more information? Kind of queries, etc?

--Alex

On Wed, Jun 12, 2013 at 6:32 PM, anand nalya [anand.nalya@gmail.com](mailto:anand.nalya@gmail.com) wrote:

> Hi,
> 
> I'm testing with a single index with replication and auto mapping creation  
> turned off. Strangely, I'm getting different no. of results for a single  
> query without any new insertions. I'm not able to reproduce this  
> consistently and this problem comes once or twice a week.
> 
> Any ideas what might be wrong?
> 
> Thanks,  
> Annad
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:30am UTC](https://discuss.elastic.co/t/inconsistent-search-results/12388/3 "2017-07-06T02:30:59Z")

</div>

Closed on July 6, 2017, 2:30am UTC


