Delete a collection alias
Delete a collection alias
collection_deletealias(conn, alias, raw = FALSE, callopts = list())
conn |
A solrium connection object, see SolrClient |
alias |
(character) Required. The alias name to be created |
raw |
(logical) If |
callopts |
curl options passed on to crul::HttpClient |
## Not run: (conn <- SolrClient$new()) if (!conn$collection_exists("thingsstuff")) { conn$collection_create(name = "thingsstuff") } conn$collection_createalias("tstuff", "thingsstuff") conn$collection_clusterstatus()$cluster$collections$thingsstuff$aliases # new alias conn$collection_deletealias("tstuff") conn$collection_clusterstatus()$cluster$collections$thingsstuff$aliases # gone ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.