Skip to content

Commit

Permalink
Update syntax.md -- where-filter (#7593) (#7594)
Browse files Browse the repository at this point in the history
  • Loading branch information
opensearch-trigger-bot[bot] authored Jul 1, 2024
1 parent f636051 commit d905c11
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit d905c11

Please sign in to comment.