diff --git a/solr/core/src/java/org/apache/solr/update/processor/ClassificationUpdateProcessorFactory.java b/solr/core/src/java/org/apache/solr/update/processor/ClassificationUpdateProcessorFactory.java index 19e0dfebcc5..cbe571bfb27 100644 --- a/solr/core/src/java/org/apache/solr/update/processor/ClassificationUpdateProcessorFactory.java +++ b/solr/core/src/java/org/apache/solr/update/processor/ClassificationUpdateProcessorFactory.java @@ -22,6 +22,7 @@ import org.apache.lucene.search.Query; import org.apache.solr.common.SolrException; import org.apache.solr.common.params.SolrParams; import org.apache.solr.common.util.NamedList; +import org.apache.solr.common.util.SuppressForbidden; import org.apache.solr.request.SolrQueryRequest; import org.apache.solr.response.SolrQueryResponse; import org.apache.solr.schema.IndexSchema; @@ -59,6 +60,7 @@ public class ClassificationUpdateProcessorFactory extends UpdateRequestProcessor private SolrParams params; private ClassificationUpdateProcessorParams classificationParams; + @SuppressForbidden(reason = "Need toUpperCase to match algorithm enum value") @Override public void init(final NamedList args) { if (args != null) {