Description Usage Arguments Value
Post Request to Solr
1 2 3 4 5 | .solr.post(data, solr.url = rcloud.support:::getConf("solr.url"),
solr.auth.user = rcloud.support:::getConf("solr.auth.user"),
solr.auth.pwd = rcloud.support:::getConf("solr.auth.pwd"), isXML = FALSE,
isMulti = FALSE, type = rcloud.support:::getConf("solr.post.method"),
detach = TRUE, query = list(commit = "true"))
|
data |
The body of the request. |
solr.url |
Usually from |
solr.auth.user |
Usually from |
solr.auth.pwd |
Usually from |
isXML |
Logical. If TRUE the data argument directly becomes the body
and |
isMulti |
Logical. If TRUE it is assumed to be a list of notebooks and will not be wrapped in a list. |
type |
One of |
detach |
Logical. For mcparallel. Should updates be detached and forgotten about or not? |
query |
Named list. Arguments to be added to the query in the POST request to Solr. |
The result of the httr::POST (sync). This needs to be unwrapped with
a parallel::mccollect
with async, and curl just returns NULL
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.