Переглянути джерело

ESQL: Fix docs grammar (#134138)

`using using` isn't right.

Relates to #133892
Nik Everett 1 місяць тому
батько
коміт
6350fe4900

+ 1 - 1
docs/reference/query-languages/esql/kibana/definition/operators/not rlike.json

@@ -3,7 +3,7 @@
   "type" : "operator",
   "operator" : "not rlike",
   "name" : "not_rlike",
-  "description" : "Use `RLIKE` to filter data based on string patterns using using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern.",
+  "description" : "Use `RLIKE` to filter data based on string patterns using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern.",
   "signatures" : [
     {
       "params" : [

+ 1 - 1
docs/reference/query-languages/esql/kibana/definition/operators/rlike.json

@@ -3,7 +3,7 @@
   "type" : "operator",
   "operator" : "RLIKE",
   "name" : "rlike",
-  "description" : "Use `RLIKE` to filter data based on string patterns using using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern.",
+  "description" : "Use `RLIKE` to filter data based on string patterns using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern.",
   "signatures" : [
     {
       "params" : [

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/operators/not rlike.md

@@ -1,7 +1,7 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.
 
 ### NOT RLIKE
-Use `RLIKE` to filter data based on string patterns using using
+Use `RLIKE` to filter data based on string patterns using
 [regular expressions](https://www.elastic.co/docs/reference/query-languages/query-dsl/regexp-syntax). `RLIKE` usually acts on a field placed on
 the left-hand side of the operator, but it can also act on a constant (literal)
 expression. The right-hand side of the operator represents the pattern.

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/operators/rlike.md

@@ -1,7 +1,7 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.
 
 ### RLIKE
-Use `RLIKE` to filter data based on string patterns using using
+Use `RLIKE` to filter data based on string patterns using
 [regular expressions](https://www.elastic.co/docs/reference/query-languages/query-dsl/regexp-syntax). `RLIKE` usually acts on a field placed on
 the left-hand side of the operator, but it can also act on a constant (literal)
 expression. The right-hand side of the operator represents the pattern.

+ 1 - 1
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLike.java

@@ -32,7 +32,7 @@ public class RLike extends RegexMatch<RLikePattern> {
     public static final String NAME = "RLIKE";
 
     @FunctionInfo(returnType = "boolean", description = """
-        Use `RLIKE` to filter data based on string patterns using using
+        Use `RLIKE` to filter data based on string patterns using
         <<regexp-syntax,regular expressions>>. `RLIKE` usually acts on a field placed on
         the left-hand side of the operator, but it can also act on a constant (literal)
         expression. The right-hand side of the operator represents the pattern.""", detailedDescription = """