RestHighLevelClient catching IndexNotFoundException

I have searched around looking for the right way to catch this exception from the RestHighLevelClient. When my cluster comes up there are no indexes initially. I don't want to change this behavior. I could like to capture the IndexNotFoundException and log it. Can the RestHighLevelClient do that, it seems to only throw IOExceptions

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