filter_terms: Specify a terms filter

Description Usage Arguments

View source: R/filter.R

Description

Specify a terms filter

Usage

1
2
3
4
5
6
filter_terms(
  query,
  field,
  terms,
  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)

terms

a string or vector of strings to exact match

bool

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


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