How about transactions in elasticsearch

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

--

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

[1] Elasticsearch Platform — Find real-time answers at scale | Elastic
[2]
Elasticsearch Platform — Find real-time answers at scale | Elastic
[3] Elasticsearch Platform — Find real-time answers at scale | Elastic -> see
index.refresh_interval

--