File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed
x-pack/plugin/esql/qa/testFixtures/src/main/resources Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ matchWithField
66required_capability: match_function
77
88// tag::match-with-field[]
9- from books
10- | where match (author, "Faulkner")
11- | keep book_no, author
12- | sort book_no
13- | limit 5;
9+ FROM books
10+ | WHERE MATCH (author, "Faulkner")
11+ | KEEP book_no, author
12+ | SORT book_no
13+ | LIMIT 5;
1414// end::match-with-field[]
1515
1616// tag::match-with-field-result[]
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ matchWithField
66required_capability: match_operator_colon
77
88// tag::match-with-field[]
9- from books
10- | where author:"Faulkner"
11- | keep book_no, author
12- | sort book_no
13- | limit 5;
9+ FROM books
10+ | WHERE author:"Faulkner"
11+ | KEEP book_no, author
12+ | SORT book_no
13+ | LIMIT 5;
1414// end::match-with-field[]
1515
1616// tag::match-with-field-result[]
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ qstrWithField
66required_capability: qstr_function
77
88// tag::qstr-with-field[]
9- from books
10- | where qstr ("author: Faulkner")
11- | keep book_no, author
12- | sort book_no
13- | limit 5;
9+ FROM books
10+ | WHERE QSTR ("author: Faulkner")
11+ | KEEP book_no, author
12+ | SORT book_no
13+ | LIMIT 5;
1414// end::qstr-with-field[]
1515
1616// tag::qstr-with-field-result[]
You can’t perform that action at this time.
0 commit comments