From 0717a19f77faf7ab90ada101bbcd7d647a8070c7 Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Wed, 17 Jul 2024 15:42:41 -0700 Subject: [PATCH] Register the sort processor factory Signed-off-by: Daniel Widdis --- .../pipeline/common/SearchPipelineCommonModulePlugin.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/search-pipeline-common/src/main/java/org/opensearch/search/pipeline/common/SearchPipelineCommonModulePlugin.java b/modules/search-pipeline-common/src/main/java/org/opensearch/search/pipeline/common/SearchPipelineCommonModulePlugin.java index 1574621a8200e..2a2de9debb9d9 100644 --- a/modules/search-pipeline-common/src/main/java/org/opensearch/search/pipeline/common/SearchPipelineCommonModulePlugin.java +++ b/modules/search-pipeline-common/src/main/java/org/opensearch/search/pipeline/common/SearchPipelineCommonModulePlugin.java @@ -96,7 +96,9 @@ public Map> getResponseProces TruncateHitsResponseProcessor.TYPE, new TruncateHitsResponseProcessor.Factory(), CollapseResponseProcessor.TYPE, - new CollapseResponseProcessor.Factory() + new CollapseResponseProcessor.Factory(), + SortResponseProcessor.TYPE, + new SortResponseProcessor.Factory() ) ); }