How about transactions in elasticsearch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How about transactions in elasticsearch

Janusz Dalecki
Hi,
I started to wonder how elasticsearch handles transaction with the shards – is it at all possible?
Is elsaticsearch transaction-less app – and is left to the main CRUD database to handle it?
Regards,
Janusz

--
 
 
Reply | Threaded
Open this post in threaded view
|

Re: How about transactions in elasticsearch

Lukáš Vlček
Hi

Is elsaticsearch transaction-less app – and is left to the main CRUD database to handle it?

IMO yes, it is up to external system to handle transactions.

As soon as you index a single document and receive response (success) then the document can be retrieved (get by ID [1]) and once refresh [2] happens on ES side (can be forced or happens automatically in intervals [3]) the document can be searched by query.

Regards,
Lukas

--