diff --git a/example/solr/conf/schema.xml b/example/solr/conf/schema.xml index 76f36266f42..08933373fa3 100755 --- a/example/solr/conf/schema.xml +++ b/example/solr/conf/schema.xml @@ -338,6 +338,7 @@ or to add multiple fields to the same field for easier/faster searching. --> + diff --git a/src/java/org/apache/solr/handler/DisMaxRequestHandler.java b/src/java/org/apache/solr/handler/DisMaxRequestHandler.java index 5352309cc2f..dfca4df2c42 100644 --- a/src/java/org/apache/solr/handler/DisMaxRequestHandler.java +++ b/src/java/org/apache/solr/handler/DisMaxRequestHandler.java @@ -113,6 +113,7 @@ import java.net.URL; * :TODO: document facet param support * * + * @deprecated use StandardRequestHandler with a "defType=dismax" param */ @Deprecated public class DisMaxRequestHandler extends StandardRequestHandler diff --git a/src/java/org/apache/solr/request/DisMaxRequestHandler.java b/src/java/org/apache/solr/request/DisMaxRequestHandler.java index 4cea38f4d92..4ad514b3543 100644 --- a/src/java/org/apache/solr/request/DisMaxRequestHandler.java +++ b/src/java/org/apache/solr/request/DisMaxRequestHandler.java @@ -19,8 +19,9 @@ package org.apache.solr.request; /** * This class is scheduled for deletion. Please update your code to the moved package. + * @deprecated use org.apache.solr.handler.DisMaxRequestHandler */ -@Deprecated +@Deprecated public class DisMaxRequestHandler extends org.apache.solr.handler.DisMaxRequestHandler { // Don't use this class } diff --git a/src/java/org/apache/solr/request/StandardRequestHandler.java b/src/java/org/apache/solr/request/StandardRequestHandler.java index 3745af994ed..ea6016dd3e1 100644 --- a/src/java/org/apache/solr/request/StandardRequestHandler.java +++ b/src/java/org/apache/solr/request/StandardRequestHandler.java @@ -19,8 +19,9 @@ package org.apache.solr.request; /** * This class is scheduled for deletion. Please update your code to the moved package. + * @deprecated use org.apache.solr.handler.StandardRequestHandler */ -@Deprecated +@Deprecated public class StandardRequestHandler extends org.apache.solr.handler.StandardRequestHandler { // Don't use this class }