Stable version from CRAN
install.packages("solrium")
Or the development version from GitHub
::install_github("ropensci/solrium") remotes
Load
library("solrium")
Initialize connection
SolrClient$new()) (conn <-
#> <Solr Client>
#> host: 127.0.0.1
#> path:
#> port: 8983
#> scheme: http
#> errors: simple
#> proxy:
There are many operations you can do on cores, including:
core_create()
- create a corecore_exists()
- check if a core existscore_mergeindexes()
- merge indexescore_reload()
- reload a corecore_rename()
- rename a corecore_requeststatus()
- check request statuscore_split()
- split a corecore_status()
- check core statuscore_swap()
- core swapcore_unload()
- delete a core$core_create() conn
$core_unload() conn
There are many operations you can do on collections, including:
collection_addreplica()
collection_addreplicaprop()
collection_addrole()
collection_balanceshardunique()
collection_clusterprop()
collection_clusterstatus()
collection_create()
collection_createalias()
collection_createshard()
collection_delete()
collection_deletealias()
collection_deletereplica()
collection_deletereplicaprop()
collection_deleteshard()
collection_list()
collection_migrate()
collection_overseerstatus()
collection_rebalanceleaders()
collection_reload()
collection_removerole()
collection_requeststatus()
collection_splitshard()
$collection_create() conn
$collection_delete() conn