filter_sqs: Specify a "simple query string" filter

Description Usage Arguments Details

View source: R/filter.R

Description

Specify a "simple query string" filter

Usage

1
2
3
4
5
6
filter_sqs(
  query,
  fields,
  string,
  bool = c("must", "filter", "must_not", "should")
)

Arguments

query

a query_agg() or query_fetch() object

fields

field names (see queryable_fields() for all possibilities)

string

a string or vector of strings to exact match

bool

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

Details

See here for more. More of the options will be implemented in the future. Adding more options and testing them could be an easy exercise for a contributor's pull request.


hafen/elasticquery documentation built on May 17, 2021, 3:01 p.m.