Apache Lucene open-source search software
make all examples of refrencing solr jars consistent across the various solrconfig.xml files - new regex will match official version numbers, dev version numbers, and 'nightly' version numbers, but will prevent the JVM from loading the 'src' and 'doc' jars
Chris M. Hostetterd157af54249d
diff --git a/contrib/clustering/example/conf/solrconfig.xml b/contrib/clustering/example/conf/solrconfig.xmlindex dff5e38846a..54627d653fe 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-(\d|\.)+-.*\.jar" />+ <lib dir="../../../dist/" regex="apache-solr-clustering-(nightly|\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 rundiff --git a/example/example-DIH/solr/mail/conf/solrconfig.xml b/example/example-DIH/solr/mail/conf/solrconfig.xmlindex 25b93bb9631..5a6d9ebb608 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.*jar" />+ <lib dir="../../../../dist/" regex="apache-solr-dataimporthandler-extras-(nightly|\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.xmlindex c622b501d7b..edefc4ae2f7 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-.*\.jar" />+ <lib dir="../../dist/" regex="apache-solr-cell-(nightly|\d).*\.jar" /><!-- If a dir option (with or without a regex) is used and nothing is foundthat matches, it will be ignored-->