Description Usage Arguments Examples
View source: R/collection_reload.R
Reload a collection
1 | 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 |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
(conn <- SolrClient$new())
if (!conn$collection_exists("helloWorld")) {
conn$collection_create(name = "helloWorld")
}
conn$collection_reload(name = "helloWorld")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.