R: List collections or cores

collections {solrium} | R Documentation

## List collections or cores

### Description

List collections or cores

### Usage

    collections(conn, ...)

    cores(conn, ...)

### Arguments

`conn` | A solrium connection object, see SolrClient
`...` | curl options passed on to crul::HttpClient

### Details

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

### Value

character vector

### Examples

    ## Not run:
    # connect
    (conn <- SolrClient$new())

    # list collections
    conn$collection_list()
    collections(conn)

    # list cores
    conn$core_status()
    cores(conn)

    ## End(Not run)

[Package solrium version 1.0.0 Index]