Apache Solr open-source search software
Remove deprecated StandardRequestHandler (#4135)
Eric Pughde938eee1f11
diff --git a/changelog/unreleased/SOLR-18105.yml b/changelog/unreleased/SOLR-18105.ymlnew file mode 100644index 00000000000..667d19717eb--- /dev/null+++ b/changelog/unreleased/SOLR-18105.yml@@ -0,0 +1,8 @@+# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc+title: Remove deprecated StandardRequestHandler in favor of SearchHandler+type: removed # added, changed, fixed, deprecated, removed, dependency_update, security, other+authors:+ - name: Eric Pugh+links:+ - name: SOLR-18105+ url: https://issues.apache.org/jira/browse/SOLR-18105diff --git a/solr/core/src/java/org/apache/solr/handler/StandardRequestHandler.java b/solr/core/src/java/org/apache/solr/handler/StandardRequestHandler.javadeleted file mode 100644index edf3eeeda7e..00000000000--- a/solr/core/src/java/org/apache/solr/handler/StandardRequestHandler.java+++ /dev/null@@ -1,29 +0,0 @@-/*- * Licensed to the Apache Software Foundation (ASF) under one or more- * contributor license agreements. See the NOTICE file distributed with- * this work for additional information regarding copyright ownership.- * The ASF licenses this file to You under the Apache License, Version 2.0- * (the "License"); you may not use this file except in compliance with- * the License. You may obtain a copy of the License at- *- * http://www.apache.org/licenses/LICENSE-2.0- *- * Unless required by applicable law or agreed to in writing, software- * distributed under the License is distributed on an "AS IS" BASIS,- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.- * See the License for the specific language governing permissions and- * limitations under the License.- */-package org.apache.solr.handler;--import org.apache.solr.handler.component.SearchHandler;--@Deprecated-public class StandardRequestHandler extends SearchHandler {- //////////////////////// SolrInfoMBeans methods //////////////////////-- @Override- public String getDescription() {- return "The standard Solr request handler";- }-}diff --git a/solr/core/src/test-files/solr/collection1/conf/solrconfig-expressions-vs.xml b/solr/core/src/test-files/solr/collection1/conf/solrconfig-expressions-vs.xmlindex 9081d634eff..e16bed5438f 100644--- a/solr/core/src/test-files/solr/collection1/conf/solrconfig-expressions-vs.xml+++ b/solr/core/src/test-files/solr/collection1/conf/solrconfig-expressions-vs.xml@@ -25,7 +25,7 @@<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>- <requestHandler name="standard" class="solr.StandardRequestHandler"/>+ <requestHandler name="standard" class="solr.SearchHandler"/><requestHandler name="/update" class="solr.UpdateRequestHandler" /><valueSourceParser name="sin1" class="solr.ExpressionValueSourceParser">