Skip to content

Commit

Permalink
Changed Coordinator to Request in TransportSearchAction
Browse files Browse the repository at this point in the history
Signed-off-by: sahil buddharaju <sahilbud@amazon.com>
  • Loading branch information
sahil buddharaju committed Jul 24, 2023
1 parent aaafde1 commit cfd5297
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public TransportSearchAction(
IndexNameExpressionResolver indexNameExpressionResolver,
NamedWriteableRegistry namedWriteableRegistry,
SearchPipelineService searchPipelineService,
SearchRequestStats searchCoordinatorStats
SearchRequestStats searchRequestStats
) {
super(SearchAction.NAME, transportService, actionFilters, (Writeable.Reader<SearchRequest>) SearchRequest::new);
this.client = client;
Expand All @@ -187,7 +187,7 @@ public TransportSearchAction(
this.indexNameExpressionResolver = indexNameExpressionResolver;
this.namedWriteableRegistry = namedWriteableRegistry;
this.searchPipelineService = searchPipelineService;
this.searchListenersList.add(searchCoordinatorStats);
this.searchListenersList.add(searchRequestStats);
}

private Map<String, AliasFilter> buildPerIndexAliasFilter(
Expand Down

0 comments on commit cfd5297

Please sign in to comment.