Skip to content

Apache Lucene open-source search software

simplify classpath regex

Yonik Seeley16df0cfe1695
diff --git a/contrib/clustering/example/conf/solrconfig.xml b/contrib/clustering/example/conf/solrconfig.xml
index 54627d653fe..3547f2f582f 100644
--- a/contrib/clustering/example/conf/solrconfig.xml
+++ b/contrib/clustering/example/conf/solrconfig.xml
@@ -26,7 +26,7 @@
-->
<abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
- <lib dir="../../../dist/" regex="apache-solr-clustering-(nightly|\d).*\.jar" />
+ <lib dir="../../../dist/" regex="apache-solr-clustering-\d.*\.jar" />
<lib dir="../lib" />
<!-- these jars are not inlcuded in the release because of their licenses,
they will be downlodded when 'ant example' is run
diff --git a/example/example-DIH/solr/mail/conf/solrconfig.xml b/example/example-DIH/solr/mail/conf/solrconfig.xml
index 5a6d9ebb608..617b1422044 100644
--- a/example/example-DIH/solr/mail/conf/solrconfig.xml
+++ b/example/example-DIH/solr/mail/conf/solrconfig.xml
@@ -27,7 +27,7 @@
<abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
<lib dir="../../../../contrib/dataimporthandler/lib/" regex=".*jar$" />
- <lib dir="../../../../dist/" regex="apache-solr-dataimporthandler-extras-(nightly|\d).*jar" />
+ <lib dir="../../../../dist/" regex="apache-solr-dataimporthandler-extras-\d.*\.jar" />
<indexDefaults>
<!-- Values here affect all index writers and act as a default unless overridden. -->
diff --git a/example/solr/conf/solrconfig.xml b/example/solr/conf/solrconfig.xml
index a5c551afce3..93737043a86 100755
--- a/example/solr/conf/solrconfig.xml
+++ b/example/solr/conf/solrconfig.xml
@@ -51,7 +51,7 @@
directory which completely match the regex (anchored on both ends)
will be included.
-->
- <lib dir="../../dist/" regex="apache-solr-cell-(nightly|\d).*\.jar" />
+ <lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" />
<!-- If a dir option (with or without a regex) is used and nothing is found
that matches, it will be ignored
-->