This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 31dd2e19e95 SOLR-17742: handleSelect is now deprecated; log this
31dd2e19e95 is described below

commit 31dd2e19e95dffe7f65a476eff3f753d7ccc0e2e
Author: David Smiley <[email protected]>
AuthorDate: Sat Jun 28 12:02:12 2025 -0400

    SOLR-17742: handleSelect is now deprecated; log this
    
    In 10; this is going to be removed (separate PR in progress)
---
 solr/core/src/java/org/apache/solr/core/SolrConfig.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/solr/core/src/java/org/apache/solr/core/SolrConfig.java 
b/solr/core/src/java/org/apache/solr/core/SolrConfig.java
index e2050b5ac30..d8525369163 100644
--- a/solr/core/src/java/org/apache/solr/core/SolrConfig.java
+++ b/solr/core/src/java/org/apache/solr/core/SolrConfig.java
@@ -382,6 +382,9 @@ public class SolrConfig implements MapSerializable {
       }
 
       handleSelect = get("requestDispatcher").boolAttr("handleSelect", false);
+      if (handleSelect) {
+        DeprecationLog.log("handleSelect", "handleSelect is deprecated");
+      }
       addHttpRequestToContext = 
requestParsersNode.boolAttr("addHttpRequestToContext", false);
       if (addHttpRequestToContext) {
         DeprecationLog.log("addHttpRequestToContext", "addHttpRequestToContext 
is deprecated");

Reply via email to