Skip to content

Commit 71328d6

Browse files
committed
Fix capability as snapshot
1 parent e6ab030 commit 71328d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public enum Cap {
286286
/**
287287
* Support for match operator as a colon. Previous support for match operator as MATCH has been removed
288288
*/
289-
MATCH_OPERATOR_COLON(true),
289+
MATCH_OPERATOR_COLON(Build.current().isSnapshot()),
290290

291291
/**
292292
* Removing support for the {@code META} keyword.

0 commit comments

Comments
 (0)