diff --git a/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java b/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java index d38abcba0dc..d25f3498496 100644 --- a/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java +++ b/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java @@ -54,7 +54,10 @@ public class DirectSolrConnection /** * Initialize using the static singleton SolrCore.getSolrCore(). + * + * @deprecated use {@link #DirectSolrConnection(SolrCore)} */ + @Deprecated public DirectSolrConnection() { this( SolrCore.getSolrCore() );