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

janhoy pushed a commit to branch SOLR-17956-deprecate-XLSXResponseWriter
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 9989938047692a48f7453c0c9cd9c672b168e626
Author: Jan Høydahl <[email protected]>
AuthorDate: Wed Oct 15 00:33:57 2025 +0200

    SOLR-17956 Deprecate the XLSXResponseWriter in v9.10
---
 solr/CHANGES.txt                                                   | 2 ++
 .../org/apache/solr/handler/extraction/XLSXResponseWriter.java     | 7 ++++++-
 .../solr-ref-guide/modules/query-guide/pages/response-writers.adoc | 5 +++++
 .../modules/upgrade-notes/pages/major-changes-in-solr-9.adoc       | 4 ++++
 4 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index d9f1cc04cb7..58fb91f6e25 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -327,6 +327,8 @@ Other Changes
 * SOLR-17879: A Solr node will now fail to start if it's major.minor version 
(e.g. 9.10) is *lower* than that of any existing
   Solr node in a SolrCloud cluster (as reported by info in "live_node").  
(David Smiley)
 
+* SOLR-17956: XLSXResponseWriter has been deprecated and will be removed in a 
future release. (Jan Høydahl)
+
 ==================  9.9.1 ==================
 Bug Fixes
 ---------------------
diff --git 
a/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/XLSXResponseWriter.java
 
b/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/XLSXResponseWriter.java
index c2f9f836761..ac8e6c54960 100644
--- 
a/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/XLSXResponseWriter.java
+++ 
b/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/XLSXResponseWriter.java
@@ -48,7 +48,12 @@ import org.apache.solr.schema.SchemaField;
 import org.apache.solr.schema.StrField;
 import org.apache.solr.search.ReturnFields;
 
-/** A .XLSX spreadsheet format {@link 
org.apache.solr.response.QueryResponseWriter}. */
+/**
+ * A .XLSX spreadsheet format {@link 
org.apache.solr.response.QueryResponseWriter}.
+ *
+ * @deprecated This class will be removed in a future release.
+ */
+@Deprecated(since = "9.10", forRemoval = true)
 public class XLSXResponseWriter implements QueryResponseWriter {
 
   @Override
diff --git 
a/solr/solr-ref-guide/modules/query-guide/pages/response-writers.adoc 
b/solr/solr-ref-guide/modules/query-guide/pages/response-writers.adoc
index 84e938da5fb..ac86adbbceb 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/response-writers.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/response-writers.adoc
@@ -404,3 +404,8 @@ cp modules/extraction/lib/*.jar 
server/solr-webapp/webapp/WEB-INF/lib/
 ----
 
 Once the libraries are in place, you can add `wt=xlsx` to your request, and 
results will be returned as an XLSX sheet.
+
+[IMPORTANT]
+====
+The `XLSXResponseWriter` is deprecated and will be removed in a future release.
+====
diff --git 
a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc 
b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc
index 4217318491b..a54aceb624b 100644
--- 
a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc
+++ 
b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc
@@ -78,6 +78,10 @@ SolrJ users not using SolrClients that use Jetty HttpClient 
can safely exclude t
 
 Java has removed support for the Security Manager starting with Java 24; 
therefore, Solr will disable this feature when run with Java 24 or later. Solr 
previously used the Security Manager to provide an additional layer of 
protection against unintended file system access, network access, and process 
execution. Users upgrading to Java 24 or later should review their security 
practices and consider alternative measures, such as running Solr in containers 
or implementing additional operatin [...]
 
+=== Deprecations
+
+The `XLSXResponseWriter` is now deprecated.
+
 == Solr 9.9
 
 === SolrJ

Reply via email to