I need to disable Config API on my SOLR, where the system is already installed 
and running.
As its mentioned over web, I need to add the string:
SOLR_OPTS="$SOLR_OPTS -Ddisable.configEdit=true"
to the solr.in.sh file. However, I dont have the solr.in.sh file.

I also found that another way is to set system properties in the Solr startup 
file, there is usually a parameter named SOLR_OPTS, where I can add 
-Ddisable.configEdit=true
So, according to that, I added string:
-Ddisable.configEdit=true
to the SolrCloud.exe>JAVA>Java options.
and restarted the SOLR services.
When I log in to the SOLR UI Admin>Java Properties 
(http://localhost:portNumber/solr/~java-properties)
I can see in the left column: disable.​configEdit
and in the right columns: true
So it looks like I disabled configEdit.

However, when I run curl command in order to verify it - the curl command runs 
with no error:
curl http://localhost:portNumber/solr/core_name/config -H "Accept: 
application/json" -H "Content-type:application/json" -d "{'set-user-property' : 
{'variable_name':'some_value'}}"

What am I doing wrong?  

Reply via email to