View source: R/collection_delete.R
collection_delete | R Documentation |
Add a collection
collection_delete(conn, name, raw = FALSE, callopts = list())
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 |
## Not run: (conn <- SolrClient$new()) if (!conn$collection_exists("helloWorld")) { conn$collection_create(name = "helloWorld") } collection_delete(conn, name = "helloWorld") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.