java.lang.Object
org.elasticsearch.common.logging.activity.ActivityLoggerContext
org.elasticsearch.common.logging.activity.QueryLoggerContext
org.elasticsearch.action.search.SearchLogContext
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.common.logging.activity.ActivityLoggerContext
ActivityLoggerContext.ShardInfo -
Field Summary
Fields -
Method Summary
Methods inherited from class org.elasticsearch.common.logging.activity.QueryLoggerContext
getCountsByStatus, getRemoteClusterAliases, isSystemSearchMethods inherited from class org.elasticsearch.common.logging.activity.ActivityLoggerContext
getErrorMessage, getErrorType, getOpaqueId, getParentTaskId, getTaskId, getTookInNanos, getTraceId, getType, isSuccess
-
Field Details
-
TYPE
- See Also:
-
FORMAT_PARAMS
-
-
Method Details
-
getQuery
Description copied from class:QueryLoggerContextGet query text.- Specified by:
getQueryin classQueryLoggerContext
-
getResultCount
public int getResultCount()Description copied from class:QueryLoggerContextNumber of results.- Specified by:
getResultCountin classQueryLoggerContext
-
isTimedOut
public boolean isTimedOut()- Overrides:
isTimedOutin classActivityLoggerContext
-
getIndices
Description copied from class:QueryLoggerContextIndices used in the query.- Specified by:
getIndicesin classQueryLoggerContext
-
hasAggregations
public boolean hasAggregations() -
shardInfo
- Overrides:
shardInfoin classActivityLoggerContext
-
isFromRemote
public boolean isFromRemote()Non-null alias means the request is from a remote cluster. -
getClusters
Description copied from class:QueryLoggerContextMap cluster->status (for now).- Overrides:
getClustersin classQueryLoggerContext
-