elastic_version: Elasticsearch version

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Returns the major, minor and build version numbers for an Elasticsearch cluster, given a valid URL to an Elasticsearch cluster.

Usage

1

Arguments

url

A valid URL to an Elasticsearch cluster.

Value

A list with the major, minor and build numbers.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
elastic_version("http://localhost:9200")
$major
[1] 5

$minor
[1] 0

$build
[1] 1

## End(Not run)

elasticsearchr documentation built on July 31, 2019, 1:05 a.m.