Hi is there any OpenSearch Java client equivalent to the following
InputStream input = this.getClass()
.getResourceAsStream("some-index.json");
CreateIndexRequest req = CreateIndexRequest.of(b -> b
.index("some-index")
.withJson(input)
);
Is there a withJson
method in Java client