public class TransportSearchAction extends HandledTransportAction<SearchRequest,SearchResponse>
Modifier and Type | Field and Description |
---|---|
static Setting<java.lang.Long> |
SHARD_COUNT_LIMIT_SETTING
The maximum number of shards for a single search request.
|
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportSearchAction(Settings settings,
ThreadPool threadPool,
TransportService transportService,
SearchService searchService,
SearchTransportService searchTransportService,
SearchPhaseController searchPhaseController,
ClusterService clusterService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
protected void |
doExecute(Task task,
SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
public static final Setting<java.lang.Long> SHARD_COUNT_LIMIT_SETTING
@Inject public TransportSearchAction(Settings settings, ThreadPool threadPool, TransportService transportService, SearchService searchService, SearchTransportService searchTransportService, SearchPhaseController searchPhaseController, ClusterService clusterService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected void doExecute(Task task, SearchRequest searchRequest, ActionListener<SearchResponse> listener)
doExecute
in class TransportAction<SearchRequest,SearchResponse>
protected final void doExecute(SearchRequest searchRequest, ActionListener<SearchResponse> listener)
doExecute
in class TransportAction<SearchRequest,SearchResponse>