| collection_reload {solrium} | R Documentation |
Reload a collection
collection_reload(conn, name, raw = FALSE, callopts)
conn |
A solrium connection object, see SolrClient |
name |
(character) The name of the core to be created. Required |
raw |
(logical) If |
callopts |
curl options passed on to crul::HttpClient |
## Not run:
(conn <- SolrClient$new())
if (!conn$collection_exists("helloWorld")) {
conn$collection_create(name = "helloWorld")
}
conn$collection_reload(name = "helloWorld")
## End(Not run)