diff --git a/server/src/main/java/org/opensearch/action/search/SearchRequestOperationsCompositeListenerFactory.java b/server/src/main/java/org/opensearch/action/search/SearchRequestOperationsCompositeListenerFactory.java index f9d7f5c6b6b2f..db487bf945889 100644 --- a/server/src/main/java/org/opensearch/action/search/SearchRequestOperationsCompositeListenerFactory.java +++ b/server/src/main/java/org/opensearch/action/search/SearchRequestOperationsCompositeListenerFactory.java @@ -71,7 +71,6 @@ public SearchRequestOperationsListener.CompositeListener buildCompositeListener( final List searchListenersList = Stream.concat( searchRequestListenersList.stream(), Arrays.stream(perRequestListeners) - ) .filter((searchRequestOperationsListener -> searchRequestOperationsListener.isEnabled(searchRequest))) .collect(Collectors.toList()); diff --git a/server/src/main/java/org/opensearch/tasks/SearchTaskResourceOperationsListener.java b/server/src/main/java/org/opensearch/tasks/SearchTaskRequestOperationsListener.java similarity index 100% rename from server/src/main/java/org/opensearch/tasks/SearchTaskResourceOperationsListener.java rename to server/src/main/java/org/opensearch/tasks/SearchTaskRequestOperationsListener.java