Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
Co-authored-by: Kathleen DeRusso <[email protected]>
  • Loading branch information
leemthompo and kderusso authored Oct 11, 2024
1 parent 549f110 commit 7a0ead7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/query-dsl/query_filter_context.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ parameter, such as the `query` parameter in the
[[filter-context]]
=== Filter context

A filter answers the binary question “Does this document match this query clause?”. The anwser is simply "yes" or "no".
A filter answers the binary question “Does this document match this query clause?”. The answer is simply "yes" or "no".
Filtering has several benefits:

. *Simple binary logic*: In a filter context, a query clause determines document matches based on a yes/no criterion, without score calculation.
Expand All @@ -44,7 +44,7 @@ Filters are particularly effective for querying structured data and implementing
Common filter applications include:

* Date range checks: for example is the `timestamp` field between 2015 and 2016
* Status checks: for example is the `status` field equals "published"
* Status checks: for example is the `status` field equal to "published"

Filter context applies when a query clause is passed to a `filter` parameter, such as:

Expand Down

0 comments on commit 7a0ead7

Please sign in to comment.