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,
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
--
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.