@Override
protected ShardSuggestResponse shardOperation(ShardSuggestRequest request) throws ElasticsearchException {
logger.trace("Entered TransportSuggestAction.shardOperation()");
IndexService indexService = indicesService.indexServiceSafe(request.index());
ShardSuggestService suggestShardService = indexService.shardInjectorSafe(request.shardId()).getInstance(ShardSuggestService.class);
return suggestShardService.suggest(request);
}
@Override
protected GroupShardsIterator shards(ClusterState clusterState,
SuggestRequest request, String[] concreteIndices) {