I am writing migration code from java transport client to java low level REST client. The REST API documentation has been helpful for many requests but I am getting hard time finding equivalent API for some requests that I can make from transport client. I am sure there must be API for all the operations that we can do by using transport client. For example, this request client.admin().indices().prepareStats("index").get().getIndex("index").getShards()
gives us an array of ShardStats with shardRouting, commonStats, etc. But I am not able to find REST API that can give me same result. Am I missing something?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.