Get index level metrics

Hello,

I am writing a plugin for elastic search which gets cluster and node stats by java-api call.

For example: To get number of docs on a node, I am using nodeindicesStats.getDocs().getCount() api call to get the value.

The above api gives aggregated value of all indices on a node. Is there any api to get docs count per index on a node?

Thanks

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