Package org.elasticsearch.action.search
Class SearchTask
java.lang.Object
org.elasticsearch.tasks.Task
org.elasticsearch.tasks.CancellableTask
org.elasticsearch.action.search.SearchTask
Task storing information about a currently running
SearchRequest
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.tasks.Task
Task.Status
-
Field Summary
Fields inherited from class org.elasticsearch.tasks.Task
X_OPAQUE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerates task descriptionReturn theSearchProgressListener
attached to this task.void
setProgressListener(SearchProgressListener progressListener)
Attach aSearchProgressListener
to this task.Methods inherited from class org.elasticsearch.tasks.CancellableTask
getReasonCancelled, isCancelled, onCancelled, shouldCancelChildrenOnCancellation
Methods inherited from class org.elasticsearch.tasks.Task
getAction, getHeader, getId, getParentTaskId, getStartTime, getStartTimeNanos, getStatus, getType, headers, result, result, taskInfo, taskInfo
-
Constructor Details
-
SearchTask
-
-
Method Details
-
getDescription
Description copied from class:Task
Generates task description- Overrides:
getDescription
in classTask
-
setProgressListener
Attach aSearchProgressListener
to this task. -
getProgressListener
Return theSearchProgressListener
attached to this task.
-