R/core_reload.R

Defines functions core_reload

Documented in core_reload

#' Reload a core
#'
#' @export
#'
#' @inheritParams core_create
#' @examples \dontrun{
#' # start Solr with Schemaless mode via the schemaless eg:
#' #  bin/solr start -e schemaless
#' # you can create a new core like: bin/solr create -c corename
#' # where <corename> is the name for your core - or creaate as below
#'
#' # connect
#' (conn <- SolrClient$new())
#'
#' # Status of particular cores
#' if (conn$core_exists("gettingstarted")) {
#'   conn$core_reload("gettingstarted")
#'   conn$core_status("gettingstarted")
#' }
#' }
core_reload <- function(conn, name, raw = FALSE, callopts=list()) {
  conn$core_reload(name, raw, callopts)
}

Try the solrium package in your browser

Any scripts or data that you put into this service are public.

solrium documentation built on May 19, 2021, 9:06 a.m.