java.lang.Object
org.elasticsearch.usage.SearchUsageHolder
Service responsible for holding search usage statistics, like the number of used search sections and queries.
The counting is performed while parsing on the coordinating node.
Each distinct query type is counted once as part of a single search request.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a snapshot of the search usage statisticsvoid
updateUsage
(SearchUsage searchUsage) Update stats by adding the provided search request usage
-
Method Details
-
updateUsage
Update stats by adding the provided search request usage -
getSearchUsageStats
Returns a snapshot of the search usage statistics
-