Document versioning


(Arik Gaisler) #1

Hi

Is there a way to retreieve a certain version of a document when fetching
the document?
Also - for how long are the old versions retained? Is this something
controllable/configurable?

Arik

--
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/ff3891c9-931b-4439-bd7e-e3d6280b4a4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Boaz Leskes) #2

Hi Arik,
Elasticsearch only stores the latest version of every document. You can
verify that the version you retrieve is the one you expect (useful for
optimistic locking) but you can't get previous versions.

Cheers,
Boaz

On Tuesday, March 11, 2014 8:47:51 AM UTC+1, Arik Gaisler wrote:

Hi

Is there a way to retreieve a certain version of a document when fetching
the document?
Also - for how long are the old versions retained? Is this something
controllable/configurable?

Arik

--
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/1a061c79-a63f-4299-827b-8c8b1fd19c85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Arik Gaisler) #3

Thanks Boaz

On Tuesday, March 11, 2014 1:57:13 PM UTC+2, Boaz Leskes wrote:

Hi Arik,
Elasticsearch only stores the latest version of every document. You can
verify that the version you retrieve is the one you expect (useful for
optimistic locking) but you can't get previous versions.

Cheers,
Boaz

On Tuesday, March 11, 2014 8:47:51 AM UTC+1, Arik Gaisler wrote:

Hi

Is there a way to retreieve a certain version of a document when fetching
the document?
Also - for how long are the old versions retained? Is this something
controllable/configurable?

Arik

--
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/0a521eee-763e-45c2-af0b-3100f52aa575%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4