Skip to content

Commit 22f4388

Browse files
committed
Add example to match operator
1 parent 83b0c9a commit 22f4388

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

docs/reference/esql/functions/search.asciidoc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,22 @@
22
[[esql-search-operators]]
33
=== Search operators
44

5-
The only search operator is match (`:`):
5+
The only search operator is match (`:`).
66

77
preview::["Do not use on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
88

9+
The match operator performs a <<query-dsl-match-query,match query>> on the specified field. Returns true if the provided query matches the row.
10+
911
[.text-center]
1012
image::esql/functions/signature/match_operator.svg[Embedded,opts=inline]
1113

1214
include::types/match.asciidoc[]
1315

14-
16+
[source.merge.styled,esql]
17+
----
18+
include::{esql-specs}/match-operator.csv-spec[tag=match-with-field]
19+
----
20+
[%header.monospaced.styled,format=dsv,separator=|]
21+
|===
22+
include::{esql-specs}/match-operator.csv-spec[tag=match-with-field-result]
23+
|===

0 commit comments

Comments
 (0)