Class IndicesStatsRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder<IndicesStatsRequest,IndicesStatsResponse,IndicesStatsRequestBuilder>
org.elasticsearch.action.admin.indices.stats.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.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IndicesStatsRequestBuilder(ElasticsearchClient client, IndicesStatsAction action)
-
Method Summary
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder
setIndices, setIndicesOptions
-
Constructor Details
-
Method Details
-
all
Sets all flags to return all stats. -
clear
Clears all stats. -
setTypes
Document types to return stats for. Mainly affectssetIndexing(boolean)
when enabled, returning specific indexing stats for those types. -
setGroups
-
setDocs
-
setStore
-
setIndexing
-
setGet
-
setSearch
-
setMerge
-
setRefresh
-
setFlush
-
setWarmer
-
setQueryCache
-
setFieldData
-
setFieldDataFields
-
setSegments
-
setCompletion
-
setCompletionFields
-
setTranslog
-
setRequestCache
-
setRecovery
-
setIncludeSegmentFileSizes
-