ids: ids dsl

View source: R/ids.R

idsR Documentation

ids dsl

Description

ids dsl

Usage

ids(.obj = list(), ..., type = NULL)

ids_(.obj = list(), ..., .dots, type = NULL)

Arguments

.obj

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

...

Further args passed on

type

type of id to match on. Default: NULL

.dots

Explanation...

Examples

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

# ids query
index("shakespeare") %>%
 ids(1, 2, 150) %>%
 n()

## End(Not run)

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