public class TransportAnalyzeAction extends TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
TransportSingleShardAction.InternalRequestdeprecationLogger, logger, settingsactionName, indexNameExpressionResolver, taskManager, threadPoolclusterService, transportService| Constructor | Description |
|---|---|
TransportAnalyzeAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
Environment environment) |
| Modifier and Type | Method | 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) |
logDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoExecute, execute, execute, execute, executecheckGlobalBlock, doExecute, isSubAction, resolveRequest@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