java.lang.Object
org.elasticsearch.usage.SearchUsage
Holds usage statistics for an incoming search request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the query types that have been used at least once in the tracked search requestReturns the search section names that have been used at least once in the tracked search requestvoid
trackQueryUsage
(String query) Track the usage of the provided queryvoid
trackSectionUsage
(String section) Track the usage of the provided search section
-
Constructor Details
-
SearchUsage
public SearchUsage()
-
-
Method Details
-
trackQueryUsage
Track the usage of the provided query -
trackSectionUsage
Track the usage of the provided search section -
getQueryUsage
Returns the query types that have been used at least once in the tracked search request -
getSectionsUsage
Returns the search section names that have been used at least once in the tracked search request
-