collection_clusterstatus: Get cluster status

Description Usage Arguments Examples

View source: R/collection_clusterstatus.R

Description

Fetch the cluster status including collections, shards, replicas, configuration name as well as collection aliases and cluster properties.

Usage

1

Arguments

conn

A solrium connection object, see SolrClient

name

(character) The name of the core to be created. Required

shard

(character) The shard(s) for which information is requested. Multiple shard names can be specified as a character vector.

raw

(logical) If TRUE, returns raw data

...

You can pass in parameters like property.name=value to set core property name to value. See the section Defining core.properties for details on supported properties and values. (https://lucene.apache.org/solr/guide/8_2/defining-core-properties.html)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
(conn <- SolrClient$new())
conn$collection_clusterstatus()
res <- conn$collection_clusterstatus()
res$responseHeader
res$cluster
res$cluster$collections
res$cluster$collections$gettingstarted
res$cluster$live_nodes

## End(Not run)

solrium documentation built on May 19, 2021, 9:06 a.m.