mirror of https://github.com/apache/lucene.git
SOLR-10572: Removed three "no longer supported in solrconfig.xml" asserts.
This commit is contained in:
parent
07acc93b74
commit
a96f39449b
|
@ -129,6 +129,8 @@ Other Changes
|
|||
* SOLR-10310: By default, stop splitting on whitespace prior to analysis
|
||||
in edismax and standard/"lucene" query parsers. (Steve Rowe)
|
||||
|
||||
* SOLR-10572: Removed three "no longer supported in solrconfig.xml" asserts. (Christine Poerschke)
|
||||
|
||||
================== 6.6.0 ==================
|
||||
|
||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
|
||||
|
|
|
@ -127,18 +127,6 @@ public class SolrIndexConfig implements MapSerializable {
|
|||
|
||||
luceneVersion = solrConfig.luceneMatchVersion;
|
||||
|
||||
// Assert that end-of-life parameters or syntax is not in our config.
|
||||
// Warn for luceneMatchVersion's before LUCENE_3_6, fail fast above
|
||||
assertWarnOrFail("The <mergeScheduler>myclass</mergeScheduler> syntax is no longer supported in solrconfig.xml. Please use syntax <mergeScheduler class=\"myclass\"/> instead.",
|
||||
!((solrConfig.getNode(prefix + "/mergeScheduler", false) != null) && (solrConfig.get(prefix + "/mergeScheduler/@class", null) == null)),
|
||||
true);
|
||||
assertWarnOrFail("The <mergePolicy>myclass</mergePolicy> syntax is no longer supported in solrconfig.xml. Please use syntax <mergePolicy class=\"myclass\"/> instead.",
|
||||
!((solrConfig.getNode(prefix + "/mergePolicy", false) != null) && (solrConfig.get(prefix + "/mergePolicy/@class", null) == null)),
|
||||
true);
|
||||
assertWarnOrFail("The <luceneAutoCommit>true|false</luceneAutoCommit> parameter is no longer valid in solrconfig.xml.",
|
||||
solrConfig.get(prefix + "/luceneAutoCommit", null) == null,
|
||||
true);
|
||||
|
||||
effectiveUseCompoundFileSetting = solrConfig.getBool(prefix+"/useCompoundFile", def.getUseCompoundFile());
|
||||
maxBufferedDocs=solrConfig.getInt(prefix+"/maxBufferedDocs",def.maxBufferedDocs);
|
||||
maxMergeDocs=solrConfig.getInt(prefix+"/maxMergeDocs",def.maxMergeDocs);
|
||||
|
|
Loading…
Reference in New Issue