blob: 2691c1c50fb4620295ac193c9f64628e907cb949 [file] [log] [blame]
{
"documentation": "https://lucene.apache.org/solr/guide/request-parameters-api.html",
"description": "Create, update and delete request parameter sets (paramsets) to override or replace parameters defined in solrconfig.xml. Parameter sets are used with request handlers by setting the useParams attribute to the paramset name in the definition of the request handler or with individual requests to Solr. Parameter sets defined with this API are stored in a file params.json in ZooKeeper or on the filesystem when not using SolrCloud. Note this API does not directly update solrconfig.xml. ",
"methods": [
"POST"
],
"url": {
"paths": [
"/config/params"
]
},
"commands": {
"set:": {
"type":"object",
"description":"Add or overwrite one or more paramsets. Each paramset definition includes a paramset name, followed by key-value pairs of the parameter and value to be set.",
"additionalProperties": true
},
"delete": {
"type":"array",
"description": "Delete one or more paramsets.",
"items": {
"type": "string"
}
},
"update": {
"type":"object",
"description": "Update one or more paramsets. This command will attempt to merge an existing paramset with the new values. Each paramset definition includes a paramset name, followed by key-value pairs of the parameters and values to be updated.",
"additionalProperties": true
}
}
}