filter_range: Specify a range filter

Description Usage Arguments

View source: R/filter.R

Description

Specify a range filter

Usage

1
2
3
4
5
6
7
filter_range(
  query,
  field,
  from = NULL,
  to = NULL,
  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)

from

the lower value of the range

to

the upper value of the range

bool

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


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