# Results not consolidated

**URL:** <https://discuss.elastic.co/t/results-not-consolidated/76255>\
**Category:** Elasticsearch\
**Created:** [February 23, 2017, 3:29pm UTC](https://discuss.elastic.co/t/results-not-consolidated/76255 "2017-02-23T15:29:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xavierfacq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavierfacq/32/8744_2.png) [@xavierfacq](https://discuss.elastic.co/u/xavierfacq)\
**Post date:** [February 23, 2017, 3:29pm UTC](https://discuss.elastic.co/t/results-not-consolidated/76255/1 "2017-02-23T15:29:11Z")

</div>

Hi all,

I have a problem and I don't find the reason, here is the crime scene:

- A cluster with 6 nodes v.2.4.4, same kind of machine, same config, all is green

- An index with documents (~75 millions) and nested objects in = total ~255 millions docs

- Those documents are sometime updated by a Java application using the UpdateByQueryAction  
and a groovy script in order to add or remove ID in a field.

In an other hand I have a query, running from the Head plugin. When I execute  
this query many times I have 3 different results, and **that's my big problem** :

Results are simplified by this columns [NAME, DOC VERSION, SCORE]

First batch :  
A - version 4 - 16  
E - version 5 - 7

Second batch :  
A - version 5 - 16  
H - version 4 - 10

Second batch :  
Empty

What we expect is a consolidate results like:  
A - version 5 - 16  
H - version 4 - 10  
E - version 5 - 7

NOTE: I have a same Test index with no update and only one node and we have the good results.

I wonder if this is not a problem with the versioning ? The Java code with the abortOnVersionConflict(false) ?

Any suggestion is welcome !

Thanks !  
Xavier

---

<div class="post-metadata">

**Author:** ![xavierfacq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavierfacq/32/8744_2.png) [@xavierfacq](https://discuss.elastic.co/u/xavierfacq)\
**Post date:** [February 23, 2017, 5:15pm UTC](https://discuss.elastic.co/t/results-not-consolidated/76255/2 "2017-02-23T17:15:24Z")

</div>

This is not a version problem, but still don't have consolidated results...

Doc named A are not the same in fact (not the same ID) , but I can't have :

A("\_id": "39132147")  
A("\_id": "9660397")  
E ("\_id": "36495413")  
H ("\_id": "35836553")

So strange...

---

<div class="post-metadata">

**Author:** ![xavierfacq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavierfacq/32/8744_2.png) [@xavierfacq](https://discuss.elastic.co/u/xavierfacq)\
**Post date:** [February 24, 2017, 9:06am UTC](https://discuss.elastic.co/t/results-not-consolidated/76255/3 "2017-02-24T09:06:11Z")

</div>

Note to myself 🙂

It seems that there is something strange with my index... I had 3 kind of results and I had 1 primary and 2 replicas... Since I remove replicas, wait and reset 1 replica, I always have the same result...

---

<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 24, 2017, 9:06am UTC](https://discuss.elastic.co/t/results-not-consolidated/76255/4 "2017-03-24T09:06:15Z")

</div>

Closed on March 24, 2017, 9:06am UTC

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