Learn R Programming

elastic (version 1.2.0)

ping: Ping an Elasticsearch server.

Description

Ping an Elasticsearch server.

Usage

ping(conn, ...)

Arguments

conn

an Elasticsearch connection object, see connect()

...

Curl args passed on to crul::verb-GET

See Also

connect()

Examples

Run this code
# NOT RUN {
x <- connect()
ping(x)
# ideally call ping on the connetion object itself
x$ping()
# }

Run the code above in your browser using DataLab