Commit
Commit
commit(conn, name, expunge_deletes = FALSE, wait_searcher = TRUE, soft_commit = FALSE, wt = "json", raw = FALSE, ...)
conn |
A solrium connection object, see SolrClient |
name |
(character) A collection or core name. Required. |
expunge_deletes |
merge segments with deletes away. Default: |
wait_searcher |
block until a new searcher is opened and registered as
the main query searcher, making the changes visible. Default: |
soft_commit |
perform a soft commit - this will refresh the 'view' of
the index in a more performant manner, but without "on-disk" guarantees.
Default: |
wt |
(character) One of json (default) or xml. If json, uses
|
raw |
(logical) If |
... |
curl options passed on to crul::HttpClient |
<>
## Not run: (conn <- SolrClient$new()) conn$commit("gettingstarted") conn$commit("gettingstarted", wait_searcher = FALSE) # get xml back conn$commit("gettingstarted", wt = "xml") ## raw xml conn$commit("gettingstarted", wt = "xml", raw = TRUE) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.