Browse Source

[DOCS] Update URLs for ESQL Kibana generated docs (#127011)

Liam Thompson 6 months ago
parent
commit
b6c9b9b54d
34 changed files with 52 additions and 54 deletions
  1. 1 1
      docs/reference/query-languages/esql/_snippets/functions/examples/multi_match.md
  2. 1 1
      docs/reference/query-languages/esql/kibana/definition/functions/multi_match.json
  3. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/greatest.md
  4. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/least.md
  5. 5 5
      docs/reference/query-languages/esql/kibana/docs/functions/match.md
  6. 2 2
      docs/reference/query-languages/esql/kibana/docs/functions/median.md
  7. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/median_absolute_deviation.md
  8. 4 6
      docs/reference/query-languages/esql/kibana/docs/functions/multi_match.md
  9. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/mv_first.md
  10. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/mv_last.md
  11. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/mv_slice.md
  12. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/qstr.md
  13. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/st_contains.md
  14. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/st_disjoint.md
  15. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/st_intersects.md
  16. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/st_within.md
  17. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/to_datetime.md
  18. 1 1
      docs/reference/query-languages/esql/kibana/docs/functions/values.md
  19. 1 1
      docs/reference/query-languages/esql/kibana/docs/operators/add.md
  20. 1 1
      docs/reference/query-languages/esql/kibana/docs/operators/cast.md
  21. 2 2
      docs/reference/query-languages/esql/kibana/docs/operators/div.md
  22. 2 2
      docs/reference/query-languages/esql/kibana/docs/operators/equals.md
  23. 2 2
      docs/reference/query-languages/esql/kibana/docs/operators/greater_than.md
  24. 2 2
      docs/reference/query-languages/esql/kibana/docs/operators/greater_than_or_equal.md
  25. 2 2
      docs/reference/query-languages/esql/kibana/docs/operators/less_than.md
  26. 2 2
      docs/reference/query-languages/esql/kibana/docs/operators/less_than_or_equal.md
  27. 4 4
      docs/reference/query-languages/esql/kibana/docs/operators/match_operator.md
  28. 1 1
      docs/reference/query-languages/esql/kibana/docs/operators/mod.md
  29. 1 1
      docs/reference/query-languages/esql/kibana/docs/operators/mul.md
  30. 1 1
      docs/reference/query-languages/esql/kibana/docs/operators/not rlike.md
  31. 2 2
      docs/reference/query-languages/esql/kibana/docs/operators/not_equals.md
  32. 1 1
      docs/reference/query-languages/esql/kibana/docs/operators/rlike.md
  33. 1 1
      docs/reference/query-languages/esql/kibana/docs/operators/sub.md
  34. 1 1
      x-pack/plugin/esql/build.gradle

+ 1 - 1
docs/reference/query-languages/esql/_snippets/functions/examples/multi_match.md

@@ -4,7 +4,7 @@
 
 ```esql
 FROM books
-| WHERE MULTI_MATCH("Faulkner", author, description, {"fuzziness": 1})
+| WHERE MULTI_MATCH("Faulkner", author, description)
 | KEEP book_no, author
 | SORT book_no
 | LIMIT 5

+ 1 - 1
docs/reference/query-languages/esql/kibana/definition/functions/multi_match.json

@@ -731,7 +731,7 @@
     }
   ],
   "examples" : [
-    "FROM books\n| WHERE MULTI_MATCH(\"Faulkner\", author, description, {\"fuzziness\": 1})\n| KEEP book_no, author\n| SORT book_no\n| LIMIT 5",
+    "FROM books\n| WHERE MULTI_MATCH(\"Faulkner\", author, description)\n| KEEP book_no, author\n| SORT book_no\n| LIMIT 5",
     "FROM books\n| WHERE MULTI_MATCH(\"Hobbit Back Again\", title, description, {\"operator\": \"AND\"})\n| KEEP title;"
   ],
   "preview" : true,

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/greatest.md

@@ -1,7 +1,7 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### GREATEST
-Returns the maximum value from multiple columns. This is similar to [`MV_MAX`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/mv-functions#esql-mv_max)
+Returns the maximum value from multiple columns. This is similar to [`MV_MAX`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/mv-functions#esql-mv_max)
 except it is intended to run on multiple columns at once.
 
 ```esql

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/least.md

@@ -1,7 +1,7 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### LEAST
-Returns the minimum value from multiple columns. This is similar to [`MV_MIN`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/mv-functions#esql-mv_min) except it is intended to run on multiple columns at once.
+Returns the minimum value from multiple columns. This is similar to [`MV_MIN`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/mv-functions#esql-mv_min) except it is intended to run on multiple columns at once.
 
 ```esql
 ROW a = 10, b = 20

+ 5 - 5
docs/reference/query-languages/esql/kibana/docs/functions/match.md

@@ -1,16 +1,16 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### MATCH
-Use `MATCH` to perform a [match query](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/query-dsl-match-query) on the specified field.
+Use `MATCH` to perform a [match query](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query) on the specified field.
 Using `MATCH` is equivalent to using the `match` query in the Elasticsearch Query DSL.
 
-Match can be used on fields from the text family like [text](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/text) and [semantic_text](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/semantic-text),
+Match can be used on fields from the text family like [text](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/text) and [semantic_text](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/semantic-text),
 as well as other field types like keyword, boolean, dates, and numeric types.
 
-Match can use [function named parameters](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-syntax#esql-function-named-params) to specify additional options for the match query.
-All [match query parameters](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/query-dsl-match-query#match-field-params) are supported.
+Match can use [function named parameters](https://www.elastic.co/docs/reference/query-languages/esql/esql-syntax#esql-function-named-params) to specify additional options for the match query.
+All [match query parameters](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query#match-field-params) are supported.
 
-For a simplified syntax, you can use the [match operator](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/operators#esql-match-operator) `:` operator instead of `MATCH`.
+For a simplified syntax, you can use the [match operator](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/operators#esql-match-operator) `:` operator instead of `MATCH`.
 
 `MATCH` returns true if the provided query matches the row.
 

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/functions/median.md

@@ -1,10 +1,10 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### MEDIAN
-The value that is greater than half of all values and less than half of all values, also known as the 50% [`PERCENTILE`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/aggregation-functions#esql-percentile).
+The value that is greater than half of all values and less than half of all values, also known as the 50% [`PERCENTILE`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/aggregation-functions#esql-percentile).
 
 ```esql
 FROM employees
 | STATS MEDIAN(salary), PERCENTILE(salary, 50)
 ```
-Note: Like [`PERCENTILE`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/aggregation-functions#esql-percentile), `MEDIAN` is [usually approximate](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/aggregation-functions#esql-percentile-approximate).
+Note: Like [`PERCENTILE`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/aggregation-functions#esql-percentile), `MEDIAN` is [usually approximate](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/aggregation-functions#esql-percentile-approximate).

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/median_absolute_deviation.md

@@ -9,4 +9,4 @@ It is calculated as the median of each data point’s deviation from the median
 FROM employees
 | STATS MEDIAN(salary), MEDIAN_ABSOLUTE_DEVIATION(salary)
 ```
-Note: Like [`PERCENTILE`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/aggregation-functions#esql-percentile), `MEDIAN_ABSOLUTE_DEVIATION` is [usually approximate](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/aggregation-functions#esql-percentile-approximate).
+Note: Like [`PERCENTILE`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/aggregation-functions#esql-percentile), `MEDIAN_ABSOLUTE_DEVIATION` is [usually approximate](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/aggregation-functions#esql-percentile-approximate).

+ 4 - 6
docs/reference/query-languages/esql/kibana/docs/functions/multi_match.md

@@ -1,14 +1,12 @@
-<!--
-This is generated by ESQL’s AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
--->
+% This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
-### MULTI_MATCH
-Use `MULTI_MATCH` to perform a [multi-match query](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/query-dsl-match-query#query-dsl-multi-match-query) on the specified field.
+### MULTI MATCH
+Use `MULTI_MATCH` to perform a [multi-match query](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query#query-dsl-multi-match-query) on the specified field.
 The multi_match query builds on the match query to allow multi-field queries.
 
 ```esql
 FROM books
-| WHERE MULTI_MATCH("Faulkner", author, description, {"fuzziness": 1})
+| WHERE MULTI_MATCH("Faulkner", author, description)
 | KEEP book_no, author
 | SORT book_no
 | LIMIT 5

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/mv_first.md

@@ -3,7 +3,7 @@
 ### MV FIRST
 Converts a multivalued expression into a single valued column containing the
 first value. This is most useful when reading from a function that emits
-multivalued columns in a known order like [`SPLIT`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/string-functions#esql-split).
+multivalued columns in a known order like [`SPLIT`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/string-functions#esql-split).
 
 ```esql
 ROW a="foo;bar;baz"

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/mv_last.md

@@ -3,7 +3,7 @@
 ### MV LAST
 Converts a multivalue expression into a single valued column containing the last
 value. This is most useful when reading from a function that emits multivalued
-columns in a known order like [`SPLIT`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/string-functions#esql-split).
+columns in a known order like [`SPLIT`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/string-functions#esql-split).
 
 ```esql
 ROW a="foo;bar;baz"

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/mv_slice.md

@@ -3,7 +3,7 @@
 ### MV SLICE
 Returns a subset of the multivalued field using the start and end index values.
 This is most useful when reading from a function that emits multivalued columns
-in a known order like [`SPLIT`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/string-functions#esql-split) or [`MV_SORT`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/mv-functions#esql-mv_sort).
+in a known order like [`SPLIT`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/string-functions#esql-split) or [`MV_SORT`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/mv-functions#esql-mv_sort).
 
 ```esql
 row a = [1, 2, 2, 3]

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/qstr.md

@@ -1,7 +1,7 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### QSTR
-Performs a [query string query](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/query-dsl-query-string-query). Returns true if the provided query string matches the row.
+Performs a [query string query](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-query-string-query). Returns true if the provided query string matches the row.
 
 ```esql
 FROM books

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/st_contains.md

@@ -2,7 +2,7 @@
 
 ### ST CONTAINS
 Returns whether the first geometry contains the second geometry.
-This is the inverse of the [ST_WITHIN](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/spatial-functions#esql-st_within) function.
+This is the inverse of the [ST_WITHIN](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/spatial-functions#esql-st_within) function.
 
 ```esql
 FROM airport_city_boundaries

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/st_disjoint.md

@@ -2,7 +2,7 @@
 
 ### ST DISJOINT
 Returns whether the two geometries or geometry columns are disjoint.
-This is the inverse of the [ST_INTERSECTS](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/spatial-functions#esql-st_intersects) function.
+This is the inverse of the [ST_INTERSECTS](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/spatial-functions#esql-st_intersects) function.
 In mathematical terms: ST_Disjoint(A, B) ⇔ A ⋂ B = ∅
 
 ```esql

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/st_intersects.md

@@ -4,7 +4,7 @@
 Returns true if two geometries intersect.
 They intersect if they have any point in common, including their interior points
 (points along lines or within polygons).
-This is the inverse of the [ST_DISJOINT](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/spatial-functions#esql-st_disjoint) function.
+This is the inverse of the [ST_DISJOINT](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/spatial-functions#esql-st_disjoint) function.
 In mathematical terms: ST_Intersects(A, B) ⇔ A ⋂ B ≠ ∅
 
 ```esql

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/st_within.md

@@ -2,7 +2,7 @@
 
 ### ST WITHIN
 Returns whether the first geometry is within the second geometry.
-This is the inverse of the [ST_CONTAINS](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/spatial-functions#esql-st_contains) function.
+This is the inverse of the [ST_CONTAINS](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/spatial-functions#esql-st_contains) function.
 
 ```esql
 FROM airport_city_boundaries

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/to_datetime.md

@@ -3,7 +3,7 @@
 ### TO DATETIME
 Converts an input value to a date value.
 A string will only be successfully converted if it’s respecting the format `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`.
-To convert dates in other formats, use [`DATE_PARSE`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/date-time-functions#esql-date_parse).
+To convert dates in other formats, use [`DATE_PARSE`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/date-time-functions#esql-date_parse).
 
 ```esql
 ROW string = ["1953-09-02T00:00:00.000Z", "1964-06-02T00:00:00.000Z", "1964-06-02 00:00:00"]

+ 1 - 1
docs/reference/query-languages/esql/kibana/docs/functions/values.md

@@ -1,7 +1,7 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### VALUES
-Returns all values in a group as a multivalued field. The order of the returned values isn’t guaranteed. If you need the values returned in order use [`MV_SORT`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/mv-functions#esql-mv_sort).
+Returns all values in a group as a multivalued field. The order of the returned values isn’t guaranteed. If you need the values returned in order use [`MV_SORT`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/mv-functions#esql-mv_sort).
 
 ```esql
 FROM employees

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

@@ -1,5 +1,5 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### ADD `+`
-Add two numbers together. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Add two numbers together. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 

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

@@ -1,7 +1,7 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### CAST `::`
-The `::` operator provides a convenient alternative syntax to the TO_<type> [conversion functions](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/type-conversion-functions).
+The `::` operator provides a convenient alternative syntax to the TO_<type> [conversion functions](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/type-conversion-functions).
 
 ```esql
 ROW ver = CONCAT(("0"::INT + 1)::STRING, ".2.3")::VERSION

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/operators/div.md

@@ -1,6 +1,6 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### DIVIDE `/`
-Divide one number by another. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Divide one number by another. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 
-Note: Division of two integer types will yield an integer result, rounding towards 0. If you need floating point division, [`Cast (::)`](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/operators#esql-cast-operator) one of the arguments to a `DOUBLE`.
+Note: Division of two integer types will yield an integer result, rounding towards 0. If you need floating point division, [`Cast (::)`](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/operators#esql-cast-operator) one of the arguments to a `DOUBLE`.

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/operators/equals.md

@@ -1,6 +1,6 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### EQUALS `==`
-Check if two fields are equal. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Check if two fields are equal. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 
-Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/doc-values).
+Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/doc-values).

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/operators/greater_than.md

@@ -1,6 +1,6 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### GREATER THAN `>`
-Check if one field is greater than another. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Check if one field is greater than another. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 
-Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/doc-values).
+Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/doc-values).

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/operators/greater_than_or_equal.md

@@ -1,6 +1,6 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### GREATER THAN OR EQUAL `>=`
-Check if one field is greater than or equal to another. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Check if one field is greater than or equal to another. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 
-Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/doc-values).
+Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/doc-values).

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/operators/less_than.md

@@ -1,6 +1,6 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### LESS THAN `<`
-Check if one field is less than another. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Check if one field is less than another. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 
-Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/doc-values).
+Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/doc-values).

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/operators/less_than_or_equal.md

@@ -1,6 +1,6 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### LESS THAN OR EQUAL `<=`
-Check if one field is less than or equal to another. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Check if one field is less than or equal to another. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 
-Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/doc-values).
+Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/doc-values).

+ 4 - 4
docs/reference/query-languages/esql/kibana/docs/operators/match_operator.md

@@ -1,13 +1,13 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### MATCH OPERATOR `:`
-Use the match operator (`:`) to perform a [match query](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/query-dsl-match-query) on the specified field.
+Use the match operator (`:`) to perform a [match query](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query) on the specified field.
 Using `:` is equivalent to using the `match` query in the Elasticsearch Query DSL.
 
-The match operator is equivalent to the [match function](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/aggregation-functions#esql-match).
+The match operator is equivalent to the [match function](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/aggregation-functions#esql-match).
 
-For using the function syntax, or adding [match query parameters](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/query-dsl-match-query#match-field-params), you can use the
-[match function](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/functions-operators/aggregation-functions#esql-match).
+For using the function syntax, or adding [match query parameters](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query#match-field-params), you can use the
+[match function](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/aggregation-functions#esql-match).
 
 `:` returns true if the provided query matches the row.
 

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

@@ -1,5 +1,5 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### MODULO `%`
-Divide one number by another and return the remainder. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Divide one number by another and return the remainder. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 

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

@@ -1,5 +1,5 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### MULTIPLY `*`
-Multiply two numbers together. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Multiply two numbers together. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 

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

@@ -2,7 +2,7 @@
 
 ### NOT RLIKE
 Use `RLIKE` to filter data based on string patterns using using
-[regular expressions](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/regexp-syntax). `RLIKE` usually acts on a field placed on
+[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.
 

+ 2 - 2
docs/reference/query-languages/esql/kibana/docs/operators/not_equals.md

@@ -1,6 +1,6 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### NOT EQUALS `!=`
-Check if two fields are unequal. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Check if two fields are unequal. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 
-Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/elasticsearch/mapping-reference/doc-values).
+Note: This is pushed to the underlying search index if one side of the comparison is constant and the other side is a field in the index that has both an [mapping-index](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/mapping-index) and [doc-values](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/doc-values).

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

@@ -2,7 +2,7 @@
 
 ### RLIKE
 Use `RLIKE` to filter data based on string patterns using using
-[regular expressions](https://www.elastic.co/docs/reference/elasticsearch/query-languages/query-dsl/regexp-syntax). `RLIKE` usually acts on a field placed on
+[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/sub.md

@@ -1,5 +1,5 @@
 % This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
 
 ### SUBTRACT `-`
-Subtract one number from another. If either field is [multivalued](https://www.elastic.co/docs/reference/elasticsearch/query-languages/esql/esql-multivalued-fields) then the result is `null`.
+Subtract one number from another. If either field is [multivalued](https://www.elastic.co/docs/reference/query-languages/esql/esql-multivalued-fields) then the result is `null`.
 

+ 1 - 1
x-pack/plugin/esql/build.gradle

@@ -195,7 +195,7 @@ tasks.named("test").configure {
         // The kibana docs are not deployed to the normal docs location, so need absolute paths for internal references
         line.replaceAll(
           /\]\(\/reference\/([^)\s]+)\.md(#\S+)?\)/,
-          '](https://www.elastic.co/docs/reference/elasticsearch/$1$2)'
+          '](https://www.elastic.co/docs/reference/$1$2)'
         )
       }
       if (countKibana == 0) {