Retryable exceptions in elasticsearch

Hi,
Elasticsearch can throw exceptions for many reasons. I want to retry on those failures that are intermittent like network failure because I dont want my to let my pipeline redo the whole computation just because there was a network blip. I looked at elasticsearch exceptions , but there are so many of them with little or next to none documentation. Can somebody help me in categorizing exceptions on which I can wait for couple for couple of seconds and then retry. ConnectTransportException seems like a candidate. NoNodeAvailableException also seems plausible. I am connecting through Transportclient in java

Thanks
ckant

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.