Skip to content

Commit

Permalink
update the example to be accurate (#6702)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Pugh <[email protected]>
  • Loading branch information
epugh authored Mar 19, 2024
1 parent 7ecf449 commit 3a2af65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _query-dsl/minimum-should-match.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GET /shakespeare/_search
}
```

In this example, the query has three optional clauses that are combined with an `OR`, so the document must match either `prince`, `king`, or `star`.
In this example, the query has three optional clauses that are combined with an `OR`, so the document must match either `prince` and `king`, or `prince` and `star`, or `king` and `star`.

## Valid values

Expand Down Expand Up @@ -448,4 +448,4 @@ The results contain only four documents that match at least one of the optional
]
}
}
```
```

0 comments on commit 3a2af65

Please sign in to comment.