How to get statusCode from SearchResponse in Java Client

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.5

Describe the issue:
I’m moving from restHighLevelClient to Openserach java Client V2.5
In the SearchResponse of RestHighLevelClient, there is a method to know the status Code returned by Opensearch. - OpenSearch/server/src/main/java/org/opensearch/action/search/SearchResponse.java at fffd1010e88baf332f2dd4169d69bfcf0a869780 · opensearch-project/OpenSearch · GitHub

We don’t see any similar method in the SearchResponse of Openserach Java Client. What could be the alternative to get the status in this case ?

Configuration:
NA

Relevant Logs or Screenshots:
NA

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