Apache Lucene open-source search software
SOLR-2986: Add MoreLikeThis to warning about features that require uniqueKey. Also, change the warning to warn log level.
Mark Robert Millerf4371dcedf26
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex c963ff7156a..1ac18d932b0 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -367,6 +367,9 @@ Other Changes* SOLR-4155: Upgrade Jetty to 8.1.8. (Robert Muir)+* SOLR-2986: Add MoreLikeThis to warning about features that require uniqueKey.+ Also, change the warning to warn log level. (Shawn Heisey via Mark Miller)+================== 4.0.0 ==================Versions of Major Componentsdiff --git a/solr/core/src/java/org/apache/solr/schema/IndexSchema.java b/solr/core/src/java/org/apache/solr/schema/IndexSchema.javaindex bf5e3361718..d21f216045e 100644--- a/solr/core/src/java/org/apache/solr/schema/IndexSchema.java+++ b/solr/core/src/java/org/apache/solr/schema/IndexSchema.java@@ -498,7 +498,7 @@ public final class IndexSchema {}if (!uniqueKeyField.stored()) {- log.error("uniqueKey is not stored - distributed search will not work");+ log.warn("uniqueKey is not stored - distributed search and MoreLikeThis will not work");}if (uniqueKeyField.multiValued()) {String msg = "uniqueKey field ("+uniqueKeyFieldName+