Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Use modern property name, not deprecated name (#3686)

Eric Pugh7be249636455
diff --git a/solr/packaging/test/test_opennlp.bats b/solr/packaging/test/test_opennlp.bats
index c2fd6755b38..7cb1d223d97 100644
--- a/solr/packaging/test/test_opennlp.bats
+++ b/solr/packaging/test/test_opennlp.bats
@@ -60,7 +60,7 @@ teardown() {
# Can't figure out magic policy stuff to allow loading ONNX, so disable security manager.
export SOLR_SECURITY_MANAGER_ENABLED=false
- solr start -m 4g -Dsolr.modules=analysis-extras -Denable.packages=true
+ solr start -m 4g -Dsolr.modules=analysis-extras -Dsolr.packages.enabled=true
solr assert --started http://localhost:${SOLR_PORT}/solr --timeout 5000
run solr create -c COLL_NAME
diff --git a/solr/solr-ref-guide/modules/getting-started/pages/tutorial-opennlp.adoc b/solr/solr-ref-guide/modules/getting-started/pages/tutorial-opennlp.adoc
index 491855e1e4a..aced2f343f6 100644
--- a/solr/solr-ref-guide/modules/getting-started/pages/tutorial-opennlp.adoc
+++ b/solr/solr-ref-guide/modules/getting-started/pages/tutorial-opennlp.adoc
@@ -39,7 +39,7 @@ To enable NLP processing in Solr, start Solr with the `analysis-extras` module a
[,console]
----
$ export SOLR_SECURITY_MANAGER_ENABLED=false
-$ bin/solr start -m 4g -Dsolr.modules=analysis-extras -Denable.packages=true
+$ bin/solr start -m 4g -Dsolr.modules=analysis-extras -Dsolr.packages.enabled=true
----
[NOTE]