Undo delete feature


(Kartavya) #1

Hi All,

I like to if ElasticSearch has any undo delete operation.

So any document deleted using delete api can be recovered until it is
deleted from disk using optimize api flag only_expunge_deletes.

If it is not there I like to know what are the challenges to develop that
as we already have document in index and just marked it as delete.

Thanks,
Pulkit Agrawal
Product Analyst
Mckinsey&Company

--
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/CAMVa6up86Rphmh7C7fNVBANgXMvi8ruV7GD78iVHhzw1tuWQCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(vineeth mohan-2) #2

Hello Pulkit ,

The best option i can suggest would be to take snapshot of the index before
the delete opertaion.
And later retrieve the document that you need.

Else you might need to look at lucene level.
I believe lucene has features to tag a version and restoring to it later.

Thanks
Vineeth

On Sat, Jul 19, 2014 at 11:51 AM, Pulkit Agrawal pulkitdotcom@gmail.com
wrote:

Hi All,

I like to if ElasticSearch has any undo delete operation.

So any document deleted using delete api can be recovered until it is
deleted from disk using optimize api flag only_expunge_deletes.

If it is not there I like to know what are the challenges to develop that
as we already have document in index and just marked it as delete.

Thanks,
Pulkit Agrawal
Product Analyst
Mckinsey&Company

--
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/CAMVa6up86Rphmh7C7fNVBANgXMvi8ruV7GD78iVHhzw1tuWQCw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAMVa6up86Rphmh7C7fNVBANgXMvi8ruV7GD78iVHhzw1tuWQCw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAGdPd5nPyRYrPOZjO4kvWT1AAT%2BOvjDs%2BuPoeZhSh8C%3D9LV9pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Kartavya) #3

Thanks Vineeth.

I think it must be a feature of ElasticSearch.

~Pulkit

On Sat, Jul 19, 2014 at 2:26 PM, vineeth mohan vm.vineethmohan@gmail.com
wrote:

Hello Pulkit ,

The best option i can suggest would be to take snapshot of the index
before the delete opertaion.
And later retrieve the document that you need.

Else you might need to look at lucene level.
I believe lucene has features to tag a version and restoring to it later.

Thanks
Vineeth

On Sat, Jul 19, 2014 at 11:51 AM, Pulkit Agrawal pulkitdotcom@gmail.com
wrote:

Hi All,

I like to if ElasticSearch has any undo delete operation.

So any document deleted using delete api can be recovered until it is
deleted from disk using optimize api flag only_expunge_deletes.

If it is not there I like to know what are the challenges to develop that
as we already have document in index and just marked it as delete.

Thanks,
Pulkit Agrawal
Product Analyst
Mckinsey&Company

--
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/CAMVa6up86Rphmh7C7fNVBANgXMvi8ruV7GD78iVHhzw1tuWQCw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAMVa6up86Rphmh7C7fNVBANgXMvi8ruV7GD78iVHhzw1tuWQCw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAGdPd5nPyRYrPOZjO4kvWT1AAT%2BOvjDs%2BuPoeZhSh8C%3D9LV9pw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nPyRYrPOZjO4kvWT1AAT%2BOvjDs%2BuPoeZhSh8C%3D9LV9pw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAMVa6uo9aEbsz338hSJkWy5S4c5S2DkUXVeJDwpHDJuONBy3Yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4