Class VersionStats

java.lang.Object
org.elasticsearch.action.admin.cluster.stats.VersionStats
All Implemented Interfaces:
Writeable, ToXContent, ToXContentFragment

public final class VersionStats extends Object implements ToXContentFragment, Writeable
VersionStats calculates statistics for index creation versions mapped to the number of indices, primary shards, and size of primary shards on disk. This is used from ClusterStatsIndices and exposed as part of the "/_cluster/stats" API.