Description Usage Arguments Examples
Unload (delete) a core
1 2 3 4 5 6 7 8 9 10 |
conn |
A solrium connection object, see SolrClient |
name |
(character) The name of the core to be created. Required |
deleteIndex |
(logical) If |
deleteDataDir |
(logical) If |
deleteInstanceDir |
(logical) If |
async |
(character) Request ID to track this action which will be processed asynchronously |
raw |
(logical) If |
callopts |
curl options passed on to crul::HttpClient |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
# start Solr with Schemaless mode via the schemaless eg:
# bin/solr start -e schemaless
# connect
(conn <- SolrClient$new())
# Create a core
conn$core_create(name = "books")
# Unload a core
conn$core_unload(name = "books")
## not found
# conn$core_unload(name = "books")
# > Error: 400 - Cannot unload non-existent core [books]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.