I have some questions about error handling in ElasticSearch and didn't
found the answers in the online documentation.
When I index a document, how can I be sure that the document was
If a serious problem occur (let's take the out of disk space error),
how will ES return me the Exception ?
I am wondering how far ES is asynchronous, I mean:
- Indexing a new document
- Receive response OK (HTTP 200)
- Can something break now preventing the cluster to index the
document (out of space in node) ?
I other terms, how can I be sure that my document is really indexed/
updated/deleted, checking a HTTP 200 response is enough ?
And finally, perhaps RabbitMQ can help me by sending to a queue (not
yet implemented) all commands in errror... is it more reliable than
using REST API ?
Thank a lot for your help !