Description Usage Arguments Value Examples
Returns the major, minor and build version numbers for an Elasticsearch cluster, given a valid URL to an Elasticsearch cluster.
1 |
url |
A valid URL to an Elasticsearch cluster. |
A list with the major
, minor
and build
numbers.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.