I am trying to edit the solrconfig.xml file in a Linux environment where DSE is installed. However, I have been unable to locate the file and have also attempted to edit it via the Config API. When attempting to do so, I receive the following message: "solrconfig editing is not enabled due to disable.configEdit." Additionally, I cannot find the .sh file for Solr.
I have tried the following command:
POST http://localhost:8983/solr/keyspace.mytable/config
But received this response:
{
"responseHeader": {
"status": 403,
"QTime": 27
},
"error": {
"metadata": [
"error-class",
"org.apache.solr.common.SolrException",
"root-error-class",
"org.apache.solr.common.SolrException"
],
"msg": " solrconfig editing is not enabled due to disable.configEdit",
"code": 403
}
}
You can use dsetool get_core_config to get the solrconfig.xml file:
https://docs.datastax.com/en/dse/6.8/dse-admin/datastax_enterprise/tools/dsetool/dsetoolGet_core_config.html
You can also get it via cqlsh: