bool: bool dsl

View source: R/bool.R

boolR Documentation

bool dsl

Description

bool dsl

Usage

bool(.obj = list(), ...)

bool_(.obj = list(), ..., .dots)

Arguments

.obj

An index object. If nothing passed defaults to all indices, equivalent to doing e.g., localhost:9200/_search

...

Further args passed on

.dots

Explanation...

Examples

## Not run: 
elastic::connect(errors = "complete")

bool(must_not = list(term=list(speaker="KING HENRY IV")))
index("shakespeare") %>%
   bool(must_not = list(term=list(speaker="KING HENRY IV")))
index("shakespeare") %>%
   bool(should = list(list(term=list(speech_number=1))))

## End(Not run)

ropensci/elasticdsl documentation built on May 18, 2022, 9:53 a.m.