List collections or cores

collections(conn, ...)

cores(conn, ...)

Arguments

conn

A solrium connection object, see SolrClient

...

curl options passed on to crul::HttpClient

Value

character vector

Details

Calls collection_list() or core_status() internally, and parses out names for you.

Examples

if (FALSE) { # connect (conn <- SolrClient$new()) # list collections conn$collection_list() collections(conn) # list cores conn$core_status() cores(conn) }