java.lang.Object
org.elasticsearch.index.SearchSlowLog
- All Implemented Interfaces:
SearchOperationListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.index.shard.SearchOperationListener
SearchOperationListener.CompositeListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onFetchPhase
(SearchContext context, long tookInNanos) Executed after the fetch phase successfully finished.void
onQueryPhase
(SearchContext context, long tookInNanos) Executed after the query phase successfully finished.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.shard.SearchOperationListener
onFailedFetchPhase, onFailedQueryPhase, onFreeReaderContext, onFreeScrollContext, onNewReaderContext, onNewScrollContext, onPreFetchPhase, onPreQueryPhase, validateReaderContext
-
Field Details
-
INDEX_SEARCH_SLOWLOG_INCLUDE_USER_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_WARN_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_INFO_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_DEBUG_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_TRACE_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_WARN_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_INFO_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_DEBUG_SETTING
-
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_TRACE_SETTING
-
INDEX_SEARCH_SLOWLOG_LEVEL
Deprecated.Legacy index setting, kept for 7.x BWC compatibility. This setting has no effect in 8.x. Do not use. TODO: Remove in 9.0
-
-
Constructor Details
-
SearchSlowLog
-
-
Method Details
-
onQueryPhase
Description copied from interface:SearchOperationListener
Executed after the query phase successfully finished. Note: this is not invoked if the query phase execution failed.- Specified by:
onQueryPhase
in interfaceSearchOperationListener
- Parameters:
context
- the current search contexttookInNanos
- the number of nanoseconds the query execution took- See Also:
-
onFetchPhase
Description copied from interface:SearchOperationListener
Executed after the fetch phase successfully finished. Note: this is not invoked if the fetch phase execution failed.- Specified by:
onFetchPhase
in interfaceSearchOperationListener
- Parameters:
context
- the current search contexttookInNanos
- the number of nanoseconds the fetch execution took- See Also:
-