Is ES support transaction? such as rollback?

I cannot find any API about that.
is that means ES doesnot support transaction?

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No, it doesn't.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 28 juin 2013 à 12:27, dancer chuanhua.deng@gmail.com a écrit :

I cannot find any API about that.
is that means ES doesnot support transaction?

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

But, it does support versioned (sometimes called optimistically versioned)
updates. With properly written clients, each can:

  1. Get the document and note its version number, update field A, and put
    the document with the updated source and the version number.

  2. If it fails due to version conflict, repeat.

This way, two separate clients can each update their own portions of a
document and the result will be a proper merge, not a simplistic overwrite.

Something similar can be done with traditional RDBs but it's a whole lot
simpler (and faster) with ElasticSearch.

Brian

On Friday, June 28, 2013 6:52:34 AM UTC-4, David Pilato wrote:

No, it doesn't.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 28 juin 2013 à 12:27, dancer <chuanh...@gmail.com <javascript:>> a
écrit :

I cannot find any API about that.
is that means ES doesnot support transaction?

--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

How it save that scene:
client-a insert a row with 3 field but failed and need do retry, when
client-a retrying, client-b update one field.

I think your search and update may have some problems with my scene blong.
thanks.
在 2013年6月29日星期六UTC+8上午5时55分09秒,InquiringMind写道:

But, it does support versioned (sometimes called optimistically versioned)
updates. With properly written clients, each can:

  1. Get the document and note its version number, update field A, and put
    the document with the updated source and the version number.

  2. If it fails due to version conflict, repeat.

This way, two separate clients can each update their own portions of a
document and the result will be a proper merge, not a simplistic overwrite.

Something similar can be done with traditional RDBs but it's a whole lot
simpler (and faster) with ElasticSearch.

Brian

On Friday, June 28, 2013 6:52:34 AM UTC-4, David Pilato wrote:

No, it doesn't.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 28 juin 2013 à 12:27, dancer chuanh...@gmail.com a écrit :

I cannot find any API about that.
is that means ES doesnot support transaction?

--
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 elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.