Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

field_caps

Field capabilities


Description

The field capabilities API allows to retrieve the capabilities of fields among multiple indices.

Usage

field_caps(conn, fields, index = NULL, ...)

Arguments

conn

an Elasticsearch connection object, see connect()

fields

A list of fields to compute stats for. required

index

Index name, one or more

...

Curl args passed on to crul::verb-GET

References

See Also

Examples

## Not run: 
x <- connect()
x$ping()

if (x$es_ver() >= 540) {
  field_caps(x, fields = "speaker", index = "shakespeare")
}


## End(Not run)

elastic

General Purpose Interface to 'Elasticsearch'

v1.2.0
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.