This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 94f249a15d3 Update documentation to reflect the new properties. (#3737)
94f249a15d3 is described below
commit 94f249a15d310e44e1be232bb3dee966869c2d9a
Author: Eric Pugh <[email protected]>
AuthorDate: Sun Oct 26 20:20:06 2025 -0400
Update documentation to reflect the new properties. (#3737)
---
solr/bin/solr.in.cmd | 2 +-
solr/bin/solr.in.sh | 2 +-
.../modules/configuration-guide/pages/configuring-solr-xml.adoc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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`::
+