lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject lucene-solr:master: SOLR-12972: remove deprecated, unused SolrIndexConfig.luceneVersion
Date Mon, 19 Nov 2018 15:13:52 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 7abb25eff -> eb8010405


SOLR-12972: remove deprecated, unused SolrIndexConfig.luceneVersion


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/eb801040
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/eb801040
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/eb801040

Branch: refs/heads/master
Commit: eb8010405de190f37014a2f05790d108dd9d0268
Parents: 7abb25e
Author: Christine Poerschke <cpoerschke@apache.org>
Authored: Mon Nov 19 14:51:13 2018 +0000
Committer: Christine Poerschke <cpoerschke@apache.org>
Committed: Mon Nov 19 14:51:13 2018 +0000

----------------------------------------------------------------------
 .../core/src/java/org/apache/solr/update/SolrIndexConfig.java | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/eb801040/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java b/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java
index 0429d49..cd962af 100644
--- a/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java
+++ b/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java
@@ -31,7 +31,6 @@ import org.apache.lucene.index.MergePolicy;
 import org.apache.lucene.index.MergeScheduler;
 import org.apache.lucene.search.Sort;
 import org.apache.lucene.util.InfoStream;
-import org.apache.lucene.util.Version;
 import org.apache.solr.common.util.NamedList;
 import org.apache.solr.common.util.Utils;
 import org.apache.solr.core.DirectoryFactory;
@@ -63,9 +62,6 @@ public class SolrIndexConfig implements MapSerializable {
   private static final String DEFAULT_MERGE_POLICY_FACTORY_CLASSNAME = DefaultMergePolicyFactory.class.getName();
   public static final String DEFAULT_MERGE_SCHEDULER_CLASSNAME = ConcurrentMergeScheduler.class.getName();
 
-  @Deprecated
-  public final Version luceneVersion;
-
   public final boolean useCompoundFile;
 
   public final int maxBufferedDocs;
@@ -86,7 +82,6 @@ public class SolrIndexConfig implements MapSerializable {
    * Internal constructor for setting defaults based on Lucene Version
    */
   private SolrIndexConfig(SolrConfig solrConfig) {
-    luceneVersion = solrConfig.luceneMatchVersion;
     useCompoundFile = false;
     maxBufferedDocs = -1;
     ramBufferSizeMB = 100;
@@ -119,8 +114,6 @@ public class SolrIndexConfig implements MapSerializable {
     // config section
     Object unused = solrConfig.getNode(prefix, false);
 
-    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.",


Mime
View raw message