Skip to content

Commit

Permalink
Fix doc examples (; at the end of examples)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Jan 27, 2025
1 parent 4d768b5 commit f3b4c7d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ FROM books
| WHERE KQL("author: Faulkner")
| KEEP book_no, author
| SORT book_no
| LIMIT 5;
| LIMIT 5
// end::kql-with-field[]
;

// tag::kql-with-field-result[]
book_no:keyword | author:text
Expand All @@ -20,8 +21,8 @@ book_no:keyword | author:text
2847 | Colleen Faulkner
2883 | William Faulkner
3293 | Danny Faulkner
;
// end::kql-with-field-result[]
;

kqlWithMultipleFields
required_capability: kql_function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ FROM books
| WHERE MATCH(author, "Faulkner")
| KEEP book_no, author
| SORT book_no
| LIMIT 5;
| LIMIT 5
// end::match-with-field[]
;

// tag::match-with-field-result[]
book_no:keyword | author:text
Expand All @@ -20,8 +21,8 @@ book_no:keyword | author:text
2847 | Colleen Faulkner
2883 | William Faulkner
3293 | Danny Faulkner
;
// end::match-with-field-result[]
;

matchWithMultipleFunctions
required_capability: match_function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ FROM books
| WHERE author:"Faulkner"
| KEEP book_no, author
| SORT book_no
| LIMIT 5;
| LIMIT 5
// end::match-with-field[]
;

// tag::match-with-field-result[]
book_no:keyword | author:text
Expand All @@ -20,8 +21,8 @@ book_no:keyword | author:text
2847 | Colleen Faulkner
2883 | William Faulkner
3293 | Danny Faulkner
;
// end::match-with-field-result[]
;

matchWithMultipleFunctions
required_capability: match_operator_colon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ FROM books
| WHERE QSTR("author: Faulkner")
| KEEP book_no, author
| SORT book_no
| LIMIT 5;
| LIMIT 5
// end::qstr-with-field[]
;

// tag::qstr-with-field-result[]
book_no:keyword | author:text
Expand All @@ -20,8 +21,8 @@ book_no:keyword | author:text
2847 | Colleen Faulkner
2883 | William Faulkner
3293 | Danny Faulkner
;
// end::qstr-with-field-result[]
;

qstrWithMultipleFields
required_capability: qstr_function
Expand Down

0 comments on commit f3b4c7d

Please sign in to comment.