How to change Solr JVM arguments?

805 Views Asked by At

Where & how exactly do I change this setting in Solr 7.7.3?:

   set -Dsolr.allow.unsafe.resourceloading=true to allow unsafe loading
1

There are 1 best solutions below

1
On BEST ANSWER

You have the option to add as solr.allow.unsafe.resourceloading=true to solr.in.sh file,

This file can be found under the path "...\solr-VERSION\bin"

Here is how you can add the entries in the file mentioned.

SOLR_RESOURCE_LOAD="-Dsolr.allow.unsafe.resourceloading=true"
SOLR_OPTS="$SOLR_OPTS $SOLR_RESOURCE_LOAD"