Don't register search response listener in transport clients
Small fix for https://github.com/elastic/elasticsearch/pull/22682
This commit is contained in:
parent
b006636aaf
commit
3d54258de2
|
@ -298,7 +298,9 @@ public class SearchModule {
|
|||
registerPipelineAggregations(plugins);
|
||||
registerFetchSubPhases(plugins);
|
||||
registerSearchExts(plugins);
|
||||
registerSearchResponseListeners(plugins);
|
||||
if (false == transportClient) {
|
||||
registerSearchResponseListeners(plugins);
|
||||
}
|
||||
registerShapes();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue