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

epugh 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 9867009456e SOLR-13973: Deprecate existing Tika integration to open 
door to new ways (#3669)
9867009456e is described below

commit 9867009456e487ff47ecd0f5e749a9e18f2f34cd
Author: Eric Pugh <[email protected]>
AuthorDate: Fri Sep 19 08:15:41 2025 -0400

    SOLR-13973: Deprecate existing Tika integration to open door to new ways 
(#3669)
---
 .../apache/solr/handler/extraction/ExtractingDocumentLoader.java  | 8 +++++++-
 .../apache/solr/handler/extraction/ExtractingRequestHandler.java  | 4 ++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git 
a/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java
 
b/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java
index 5040abc6425..014d56caae4 100644
--- 
a/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java
+++ 
b/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java
@@ -58,7 +58,13 @@ import org.slf4j.LoggerFactory;
 import org.xml.sax.ContentHandler;
 import org.xml.sax.SAXException;
 
-/** The class responsible for loading extracted content into Solr. */
+/**
+ * The class responsible for loading extracted content into Solr.
+ *
+ * @deprecated Will be replaced with something similar that calls out to a 
separate Tika Server
+ *     process running in its own JVM.
+ */
+@Deprecated(since = "9.10.0")
 public class ExtractingDocumentLoader extends ContentStreamLoader {
 
   private static final Logger log = 
LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
diff --git 
a/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java
 
b/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java
index 99222c04964..9c5557eb624 100644
--- 
a/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java
+++ 
b/solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java
@@ -33,7 +33,11 @@ import org.apache.tika.config.TikaConfig;
 /**
  * Handler for rich documents like PDF or Word or any other file format that 
Tika handles that need
  * the text to be extracted first from the document.
+ *
+ * @deprecated Will be replaced with something similar that calls out to a 
separate Tika Server
+ *     process running in its own JVM.
  */
+@Deprecated(since = "9.10.0")
 public class ExtractingRequestHandler extends ContentStreamHandlerBase
     implements SolrCoreAware, PermissionNameProvider {
 

Reply via email to