Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Update documentation to reflect the new properties. (#3737)

Eric Pugh94f249a15d31
diff --git a/solr/bin/solr.in.cmd b/solr/bin/solr.in.cmd
index d6278e3490c..49db0c4f45e 100755
--- a/solr/bin/solr.in.cmd
+++ b/solr/bin/solr.in.cmd
@@ -202,7 +202,7 @@ REM set SOLR_GZIP_ENABLED=true
REM When running Solr in non-cloud mode and if planning to do distributed search (using the "shards" parameter), the
REM list of hosts needs to be defined in an allow-list or Solr will forbid the request. The allow-list can be configured
REM in solr.xml, or if you are using the OOTB solr.xml, can be specified using the system property "solr.allowUrls".
-REM Alternatively host checking can be disabled by using the system property "solr.disable.allowUrls"
+REM Alternatively host checking can be disabled by setting the system property "solr.security.allow.urls.enabled=false"
REM set SOLR_OPTS=%SOLR_OPTS% -Dsolr.allowUrls=http://localhost:8983,http://localhost:8984
REM For a visual indication in the Admin UI of what type of environment this cluster is, configure
diff --git a/solr/bin/solr.in.sh b/solr/bin/solr.in.sh
index b4cee92153c..931cb6abdc8 100644
--- a/solr/bin/solr.in.sh
+++ b/solr/bin/solr.in.sh
@@ -228,7 +228,7 @@
# When running Solr in non-cloud mode and if planning to do distributed search (using the "shards" parameter), the
# list of hosts needs to be defined in an allow-list or Solr will forbid the request. The allow-list can be configured
# in solr.xml, or if you are using the OOTB solr.xml, can be specified using the system property "solr.allowUrls".
-# Alternatively host checking can be disabled by using the system property "solr.disable.allowUrls"
+# Alternatively host checking can be disabled by setting the system property "solr.security.allow.urls.enabled=false"
#SOLR_OPTS="$SOLR_OPTS -Dsolr.allowUrls=http://localhost:8983,http://localhost:8984"
# For a visual indication in the Admin UI of what type of environment this cluster is, configure
diff --git a/solr/solr-ref-guide/modules/configuration-guide/pages/configuring-solr-xml.adoc b/solr/solr-ref-guide/modules/configuration-guide/pages/configuring-solr-xml.adoc
index 8d9d338d5ce..9ac52030507 100644
--- a/solr/solr-ref-guide/modules/configuration-guide/pages/configuring-solr-xml.adoc
+++ b/solr/solr-ref-guide/modules/configuration-guide/pages/configuring-solr-xml.adoc
@@ -286,7 +286,7 @@ When running Solr as a user-managed cluster and using the `shards` parameter, a
In SolrCloud mode, the allow-list is automatically configured to include all live nodes in the cluster.
+
The allow-list can also be configured with the `solr.allowUrls` system property in `solr.in.sh` / `solr.in.cmd`.
-If you need to disable this feature for backwards compatibility, you can set the system property `solr.disable.allowUrls=true`.
+If you need to disable this feature for backwards compatibility, you can set the system property `solr.security.allow.urls.enabled=false`.
`hideStackTrace`::
+