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


(Tony Su) #1

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.
To view this discussion on the web visit 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.


(jsbonline2006) #2

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

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.
To view this discussion on the web visit 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.


(system) #3