Skip to content

Commit 2f3be18

Browse files
committed
Remove AbstractMatchFullTextFunction and include into Match
1 parent 43b46ec commit 2f3be18

File tree

4 files changed

+182
-234
lines changed

4 files changed

+182
-234
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/AbstractMatchFullTextFunction.java

Lines changed: 0 additions & 219 deletions
This file was deleted.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/FullTextFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private static void checkFullTextQueryFunctions(LogicalPlan plan, Failures failu
187187
checkCommandsBeforeExpression(
188188
plan,
189189
condition,
190-
AbstractMatchFullTextFunction.class,
190+
Match.class,
191191
lp -> (lp instanceof Limit == false) && (lp instanceof Aggregate == false),
192192
m -> "[" + m.functionName() + "] " + m.functionType(),
193193
failures

0 commit comments

Comments
 (0)