Set Solr configuration details

Description

Set Solr configuration details

Usage

1
config_set(name, set = NULL, unset = NULL, ...)

Arguments

name

(character) The name of the core. If not given, all cores.

set

(list) List of key:value pairs of what to set. Default: NULL (nothing passed)

unset

(list) One or more character strings of keys to unset. Default: NULL (nothing passed)

...

curl options passed on to GET

Value

A list with response from server

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Not run: 
# start Solr with Cloud mode via the schemaless eg: bin/solr -e cloud
# 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
solr_connect()

# set a property
config_set("gettingstarted", set = list(query.filterCache.autowarmCount = 1000))

# unset a property
config_set("gettingstarted", unset = "query.filterCache.size", config = verbose())

# both set a property and unset a property
config_set("gettingstarted", unset = "enableLazyFieldLoading")

# many properties
config_set("gettingstarted", set = list(
   query.filterCache.autowarmCount = 1000,
   query.commitWithin.softCommit = 'false'
 )
)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.