Ignore certain http errors using Java high level rest client

The Javascript client allows specifying certain HTTP status codes which should not be considered as errors, as per https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/ignore_examples.html

How can I do the same using the Java high level reset client?

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