Don't register search response listener in transport clients

Small fix for https://github.com/elastic/elasticsearch/pull/22682
This commit is contained in:
Jim Ferenczi 2017-01-19 16:08:24 +01:00
parent b006636aaf
commit 3d54258de2
1 changed files with 3 additions and 1 deletions

View File

@ -298,7 +298,9 @@ public class SearchModule {
registerPipelineAggregations(plugins);
registerFetchSubPhases(plugins);
registerSearchExts(plugins);
if (false == transportClient) {
registerSearchResponseListeners(plugins);
}
registerShapes();
}