Class IndicesStatsRequestBuilder


public class IndicesStatsRequestBuilder
extends BroadcastOperationRequestBuilder<IndicesStatsRequest,​IndicesStatsResponse,​IndicesStatsRequestBuilder>
A request to get indices level stats. Allow to enable different stats to be returned.

By default, the setDocs(boolean), setStore(boolean), setIndexing(boolean) are enabled. Other stats can be enabled as well.

All the stats to be returned can be cleared using clear(), at which point, specific stats can be enabled.