powered by
Add a collection
collection_delete(conn, name, raw = FALSE, callopts = list())
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 HttpClient
HttpClient
# NOT RUN { (conn <- SolrClient$new()) if (!conn$collection_exists("helloWorld")) { conn$collection_create(name = "helloWorld") } collection_delete(conn, name = "helloWorld") # }
Run the code above in your browser using DataLab