This is an automated email from the ASF dual-hosted git repository.
janhoy 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 b27fb5af852 SOLR-17956 Deprecate the XLSXResponseWriter in v9.10
(branch_9x) (#3775)
b27fb5af852 is described below
commit b27fb5af8526c17fac5f4ce8d2d438810df66215
Author: Jan Høydahl <[email protected]>
AuthorDate: Thu Oct 16 01:51:16 2025 +0200
SOLR-17956 Deprecate the XLSXResponseWriter in v9.10 (branch_9x) (#3775)
Backported from main branch dead9b60c8240bba9757f6613675139ec3031a00
---
solr/CHANGES.txt | 2 ++
.../java/org/apache/solr/handler/extraction/XLSXResponseWriter.java | 6 ++++++
.../org/apache/solr/handler/extraction/TestXLSXResponseWriter.java | 1 +
solr/solr-ref-guide/modules/query-guide/pages/response-writers.adoc | 5 +++++
.../modules/upgrade-notes/pages/major-changes-in-solr-9.adoc | 4 ++++
5 files changed, 18 insertions(+)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index c57a7e8a832..78456e86ccc 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -62,6 +62,8 @@ Other Changes
* SOLR-17952: Stream decorator test refactoring - use underscore rather than
dot in aliases (Andy Webb)
+* 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 d68a86351ab..694940b8b98 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,6 +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}.
+ *
+ * @deprecated This class will be removed in a future release.
+ */
+@Deprecated(since = "9.10", forRemoval = true)
public class XLSXResponseWriter extends RawResponseWriter {
@Override
diff --git
a/solr/modules/extraction/src/test/org/apache/solr/handler/extraction/TestXLSXResponseWriter.java
b/solr/modules/extraction/src/test/org/apache/solr/handler/extraction/TestXLSXResponseWriter.java
index 1c95280cac6..062b9a11369 100644
---
a/solr/modules/extraction/src/test/org/apache/solr/handler/extraction/TestXLSXResponseWriter.java
+++
b/solr/modules/extraction/src/test/org/apache/solr/handler/extraction/TestXLSXResponseWriter.java
@@ -40,6 +40,7 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
+@SuppressWarnings("removal")
public class TestXLSXResponseWriter extends SolrTestCaseJ4 {
private static XLSXResponseWriter writerXlsx;
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 5f97c3d236b..8c6be6a492e 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
@@ -480,3 +480,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 5844a94b8ba..46d762a8673 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
@@ -86,6 +86,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