Installation

Stable version from CRAN

install.packages("solrium")

Or the development version from GitHub

remotes::install_github("ropensci/solrium")

Load

Initialize connection

(conn <- SolrClient$new())
#> <Solr Client>
#>   host: 127.0.0.1
#>   path: 
#>   port: 8983
#>   scheme: http
#>   errors: simple
#>   proxy:

Cores

There are many operations you can do on cores, including:

Create a core

conn$core_create()

Delete a core

conn$core_unload()