Skip to content

Commit 7279a50

Browse files
committed
Regenerate docs, minor adjustments
1 parent 58c1c70 commit 7279a50

File tree

5 files changed

+28
-7
lines changed

5 files changed

+28
-7
lines changed

docs/reference/esql/functions/description/match.asciidoc

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/definition/match.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/docs/match.md

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/processing-commands/where.asciidoc

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,22 @@ For a complete list of all functions, refer to <<esql-functions>>.
5858

5959
include::../functions/predicates.asciidoc[tag=body]
6060

61-
For matching text, you can use <<serch-functions,full text search functions>> like `MATCH`.
61+
For matching text, you can use <<esql-search-functions,full text search functions>> like `MATCH`.
6262

63-
include::../functions/match.asciidoc[tag=body]
63+
Use <<esql-match,`MATCH`>> to perform a <<query-dsl-match-query,match query>> on a specified field.
64+
65+
Match can be used on text fields, as well as other field types like boolean, dates, and numeric types.
66+
67+
[source.merge.styled,esql]
68+
----
69+
include::{esql-specs}/match-function.csv-spec[tag=match-with-field]
70+
----
71+
[%header.monospaced.styled,format=dsv,separator=|]
72+
|===
73+
include::{esql-specs}/match-function.csv-spec[tag=match-with-field-result]
74+
|===
75+
76+
For a simplified syntax, you can use the <<esql-search-operators,match operator>> `:` instead of `MATCH`.
6477

6578
include::../functions/like.asciidoc[tag=body]
6679

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ public class Match extends FullTextFunction implements Validatable {
103103
Match can be used on text fields, as well as other field types like boolean, dates, and numeric types.
104104
105105
For a simplified syntax, you can use the <<esql-search-operators,match operator>> `:` operator instead of `MATCH`.
106-
`MATCH` returns true if the provided query matches the row.
107-
""", examples = { @Example(file = "match-function", tag = "match-with-field") }
106+
107+
`MATCH` returns true if the provided query matches the row.""",
108+
examples = { @Example(file = "match-function", tag = "match-with-field") }
108109
)
109110
public Match(
110111
Source source,

0 commit comments

Comments
 (0)