powered by
Reload a collection
collection_reload(conn, name, raw = FALSE, callopts)
A solrium connection object, see SolrClient
(character) The name of the core to be created. Required
(logical) If TRUE, returns raw data
TRUE
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") # }
Run the code above in your browser using DataLab