From beec4046b40b9d7197e5da8d056d027f834c4823 Mon Sep 17 00:00:00 2001 From: Rishabh Maurya Date: Fri, 22 Mar 2024 10:26:32 -0700 Subject: [PATCH] Fix query visitor logic for highlighting on derived fields Signed-off-by: Rishabh Maurya --- .../main/java/org/opensearch/index/query/DerivedFieldQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/index/query/DerivedFieldQuery.java b/server/src/main/java/org/opensearch/index/query/DerivedFieldQuery.java index f6811f449dd97..8beef0bf46be0 100644 --- a/server/src/main/java/org/opensearch/index/query/DerivedFieldQuery.java +++ b/server/src/main/java/org/opensearch/index/query/DerivedFieldQuery.java @@ -66,7 +66,7 @@ public DerivedFieldQuery( @Override public void visit(QueryVisitor visitor) { - + query.visit(visitor); } @Override