Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.15] Update syntax.md -- where-filter #7594

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _search-plugins/sql/ppl/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Currently, `PPL` supports only one `search` command, which can be omitted to sim
## Syntax

```sql
search source=<index> [boolean-expression]
source=<index> [boolean-expression]
search source=<index> [where-filter]
source=<index> [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

Expand Down
Loading