From 7abb25eff55aabe2c969148367d4a1b1c53b64d7 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Mon, 19 Nov 2018 14:06:09 +0000 Subject: [PATCH] SOLR-12972: deprecate unused SolrIndexConfig.luceneVersion --- solr/CHANGES.txt | 3 ++- solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 67e649ea328..6a897dfac32 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -123,7 +123,8 @@ New Features Other Changes ---------------------- -(No Changes) +* SOLR-12972: deprecate unused SolrIndexConfig.luceneVersion (Christine Poerschke) + Bug Fixes ---------------------- 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 48b241751b8..0429d4965ba 100644 --- a/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java +++ b/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java @@ -62,6 +62,8 @@ 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;