From 2bad719aa39367f3f608d1bc32b956ae90ca24c3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 1 Jul 2024 20:49:44 +0000 Subject: [PATCH] Update syntax.md -- where-filter (#7593) * Update syntax.md -- where-filter The argument to the source= command should be named for what it does, not its type, and the doc should say what it does, not how it is evaluated. Signed-off-by: Stavros Macrakis <134456002+smacrakis@users.noreply.github.com> * Update _search-plugins/sql/ppl/syntax.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Stavros Macrakis <134456002+smacrakis@users.noreply.github.com> --------- Signed-off-by: Stavros Macrakis <134456002+smacrakis@users.noreply.github.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> (cherry picked from commit 40236a11fa017e707d25999c92a4298825ad9a3b) Signed-off-by: github-actions[bot] --- _search-plugins/sql/ppl/syntax.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_search-plugins/sql/ppl/syntax.md b/_search-plugins/sql/ppl/syntax.md index 45eeb3aed2..a9ba048471 100644 --- a/_search-plugins/sql/ppl/syntax.md +++ b/_search-plugins/sql/ppl/syntax.md @@ -16,15 +16,15 @@ Currently, `PPL` supports only one `search` command, which can be omitted to sim ## Syntax ```sql -search source= [boolean-expression] -source= [boolean-expression] +search source= [where-filter] +source= [where-filter] ``` Field | Description | Required :--- | :--- |:--- `search` | Specifies search keywords. | Yes `index` | Specifies which index to query from. | No -`bool-expression` | Specifies an expression that evaluates to a Boolean value. | No +`where-filter` | A Boolean expression that filters searches exactly like a `where` command. | No ## Examples