diff --git a/src/main/java/org/opensearch/neuralsearch/processor/NormalizationProcessorWorkflow.java b/src/main/java/org/opensearch/neuralsearch/processor/NormalizationProcessorWorkflow.java index 51f30f842..1ddfe75a6 100644 --- a/src/main/java/org/opensearch/neuralsearch/processor/NormalizationProcessorWorkflow.java +++ b/src/main/java/org/opensearch/neuralsearch/processor/NormalizationProcessorWorkflow.java @@ -62,7 +62,7 @@ public class NormalizationProcessorWorkflow { public void execute(final NormalizationProcessorWorkflowExecuteRequest request) { List querySearchResults = request.getQuerySearchResults(); Optional fetchSearchResultOptional = request.getFetchSearchResultOptional(); - List unprocessedDocIds = unprocessedDocIds(request.getQuerySearchResults()); + List unprocessedDocIds = unprocessedDocIds(querySearchResults); // pre-process data log.debug("Pre-process query results");