# Identical data uploaded - What to expect, overwrite/update/something else?

**URL:** <https://discuss.elastic.co/t/identical-data-uploaded-what-to-expect-overwrite-update-something-else/15608>\
**Category:** Elasticsearch\
**Created:** [February 5, 2014, 12:46am UTC](https://discuss.elastic.co/t/identical-data-uploaded-what-to-expect-overwrite-update-something-else/15608 "2014-02-05T00:46:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Su](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Tony\_Su](https://discuss.elastic.co/u/Tony_Su)\
**Post date:** [February 5, 2014, 12:46am UTC](https://discuss.elastic.co/t/identical-data-uploaded-what-to-expect-overwrite-update-something-else/15608/1 "2014-02-05T00:46:32Z")

</div>

If data is re-loaded which is identical in every way to data which already  
exists in ES,

Is new metadata created that simply over-writes existing (zero net effect)?  
Or is duplicate, unique metadata created?  
Or, maybe since identical data is found to already exist, although the  
update API was not used it would be invoked anyway?

I think I understand that if data was inserted using the update API, then  
there would be an orderly addition to current metadata, incrementing the  
version but I'm interested in what would happen if the update api is not  
used.

Thx,  
Tony

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/27a3bc1f-a500-4e4a-9088-0ab78e329fca%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/27a3bc1f-a500-4e4a-9088-0ab78e329fca%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)\
**Post date:** [February 5, 2014, 3:22am UTC](https://discuss.elastic.co/t/identical-data-uploaded-what-to-expect-overwrite-update-something-else/15608/2 "2014-02-05T03:22:28Z")

</div>

Hi Tony,

What I have observed in my so far experience with ES that it simply  
over-write the exisiting data with change in version.

Regards,  
Jayesh Bhoyar  
[http://www.linkedin.com/in/jayeshbhoyar](http://www.linkedin.com/in/jayeshbhoyar)

On Wednesday, February 5, 2014 6:16:32 AM UTC+5:30, Tony Su wrote:

> If data is re-loaded which is identical in every way to data which already  
> exists in ES,
> 
> Is new metadata created that simply over-writes existing (zero net effect)?  
> Or is duplicate, unique metadata created?  
> Or, maybe since identical data is found to already exist, although the  
> update API was not used it would be invoked anyway?
> 
> I think I understand that if data was inserted using the update API, then  
> there would be an orderly addition to current metadata, incrementing the  
> version but I'm interested in what would happen if the update api is not  
> used.
> 
> Thx,  
> Tony

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c6482bec-c73d-404c-bc21-06c5e39016f8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c6482bec-c73d-404c-bc21-06c5e39016f8%40googlegroups.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, 1:52am UTC](https://discuss.elastic.co/t/identical-data-uploaded-what-to-expect-overwrite-update-something-else/15608/3 "2017-07-06T01:52:35Z")

</div>


