Description Usage Arguments Details Value Examples
Check if a core exists
1 | core_exists(conn, name, callopts = list())
|
conn |
A solrium connection object, see SolrClient |
name |
(character) The name of the core to be created. Required |
callopts |
curl options passed on to crul::HttpClient |
Simply calls core_status()
internally
A single boolean, TRUE
or FALSE
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# 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 create as below
# connect
(conn <- SolrClient$new())
# exists
conn$core_exists("gettingstarted")
# doesn't exist
conn$core_exists("hhhhhh")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.