Package org.elasticsearch.action.search
Class TransportSearchAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<SearchRequest,SearchResponse>
org.elasticsearch.action.search.TransportSearchAction
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionThe maximum number of shards for a single search request.Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager
-
Constructor Summary
ConstructorDescriptionTransportSearchAction(ThreadPool threadPool, CircuitBreakerService circuitBreakerService, TransportService transportService, SearchService searchService, SearchTransportService searchTransportService, SearchPhaseController searchPhaseController, ClusterService clusterService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, NamedWriteableRegistry namedWriteableRegistry, ExecutorSelector executorSelector)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doExecute(Task task, SearchRequest searchRequest, ActionListener<SearchResponse> listener)
void
executeRequest(Task task, SearchRequest searchRequest, String actionName, boolean includeSearchContext, TransportSearchAction.SinglePhaseSearchAction phaseSearchAction, ActionListener<SearchResponse> listener)
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
SHARD_COUNT_LIMIT_SETTING
The maximum number of shards for a single search request.
-
-
Constructor Details
-
TransportSearchAction
@Inject public TransportSearchAction(ThreadPool threadPool, CircuitBreakerService circuitBreakerService, TransportService transportService, SearchService searchService, SearchTransportService searchTransportService, SearchPhaseController searchPhaseController, ClusterService clusterService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, NamedWriteableRegistry namedWriteableRegistry, ExecutorSelector executorSelector)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, SearchRequest searchRequest, ActionListener<SearchResponse> listener)- Specified by:
doExecute
in classTransportAction<SearchRequest,SearchResponse>
-
executeRequest
public void executeRequest(Task task, SearchRequest searchRequest, String actionName, boolean includeSearchContext, TransportSearchAction.SinglePhaseSearchAction phaseSearchAction, ActionListener<SearchResponse> listener)
-