public class TransportAnalyzeAction extends TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
TransportSingleShardAction.InternalRequestclusterService, transportServiceactionName, indexNameExpressionResolver, taskManager, threadPooldeprecationLogger, logger, settings| Constructor and Description |
|---|
TransportAnalyzeAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
static AnalyzeResponse |
analyze(AnalyzeRequest request,
java.lang.String field,
org.apache.lucene.analysis.Analyzer analyzer,
IndexAnalyzers indexAnalyzers,
AnalysisRegistry analysisRegistry,
Environment environment) |
protected ClusterBlockException |
checkRequestBlock(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected AnalyzeResponse |
newResponse() |
protected boolean |
resolveIndex(AnalyzeRequest request) |
protected AnalyzeResponse |
shardOperation(AnalyzeRequest request,
ShardId shardId) |
protected ShardsIterator |
shards(ClusterState state,
TransportSingleShardAction.InternalRequest request)
Returns the candidate shards to execute the operation on or
null the execute
the operation locally (the node that received the request) |
checkGlobalBlock, doExecute, isSubAction, resolveRequestdoExecute, execute, execute, execute, executelogDeprecatedSetting, logRemovedSetting, nodeName@Inject public TransportAnalyzeAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Environment environment)
protected AnalyzeResponse newResponse()
newResponse in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>protected boolean resolveIndex(AnalyzeRequest request)
resolveIndex in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)
checkRequestBlock in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>protected ShardsIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
TransportSingleShardActionnull the execute
the operation locally (the node that received the request)shards in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>protected AnalyzeResponse shardOperation(AnalyzeRequest request, ShardId shardId)
shardOperation in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>public static AnalyzeResponse analyze(AnalyzeRequest request, java.lang.String field, org.apache.lucene.analysis.Analyzer analyzer, IndexAnalyzers indexAnalyzers, AnalysisRegistry analysisRegistry, Environment environment) throws java.io.IOException
java.io.IOException