Specify a match filter

filter_match(
  query,
  field,
  match,
  bool = c("must", "filter", "must_not", "should")
)

Arguments

query

a query_agg() or query_fetch() object

field

field name (see queryable_fields() for all possibilities)

match

a string to match

bool

one of "must", "filter", "must_not", "should" (see here)