Skip to content

Commit

Permalink
Ref Guide: monospace parameter names for overall consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
ctargett committed Oct 5, 2020
1 parent e325f66 commit 5bf487f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions solr/solr-ref-guide/src/configsets-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ If you use any of these parameters or features, you must have enabled security f

The `upload` command takes the following parameters:

name::
`name`::
The configset to be created when the upload is complete. This parameter is required.

overwrite::
`overwrite`::
If set to `true`, Solr will overwrite an existing configset with the same name (if false, the request will fail). Default is `false`.

cleanup::
`cleanup`::
When overwriting an existing configset (`overwrite=true`), this parameter tells Solr to delete the files in ZooKeeper that existed in the old configset but not in the one being uploaded. Default is `false`.

The body of the request should be a zip file that contains the configset. The zip file must be created from within the `conf` directory (i.e., `solrconfig.xml` must be the top level entry in the zip file).
Expand Down Expand Up @@ -132,13 +132,13 @@ If you have not yet uploaded any configsets, see the <<Upload a Configset>> comm

The following parameters are supported when creating a configset.

name::
`name`::
The configset to be created. This parameter is required.

baseConfigSet::
`baseConfigSet`::
The name of the configset to copy as a base. This defaults to `_default`

configSetProp._property_=_value_::
`configSetProp._property_=_value_`::
A configset property from the base configset to override in the copied configset.

For example, to create a configset named "myConfigset" based on a previously defined "predefinedTemplate" configset, overriding the immutable property to false.
Expand Down Expand Up @@ -192,7 +192,7 @@ curl -X POST -H 'Content-type: application/json' -d '{

The `delete` command removes a configset. It does not remove any collections that were created with the configset.

name::
`name`::
The configset to be deleted. This parameter is required.

To delete a configset named "myConfigSet":
Expand Down

0 comments on commit 5bf487f

Please sign in to comment.