Cores/collections management

Installation

Stable version from CRAN

install.packages("solrium")

Or the development version from GitHub

remotes::install_github("ropensci/solrium")

Load

library("solrium")

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()

Collections

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

Create a collection

conn$collection_create()

Delete a collection

conn$collection_delete()


Try the solrium package in your browser

Any scripts or data that you put into this service are public.

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