Specifying IndicesOptions in Java Rest API call

Is there a way to specify IndicesOptions when making a rest api call through low level rest client in Elasticsearch 6.8(I see this option in ES7 docs)? We are migrating from transport client to rest client and we were able to specify IndicesOptions.LENIENT_EXPAND_OPEN in request object to ignore the closed/unavailable indices. After porting these elasticsearch calls to rest API, we are seeing {"error":{"root_cause":[{"type":"index_closed_exception","reason":"closed"... error. The specific call that is failing is /index1/_status.

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