Skip to content

Commit 9867009

Browse files
committed
SOLR-13973: Deprecate existing Tika integration to open door to new ways (#3669)
1 parent 06fa432 commit 9867009

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingDocumentLoader.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@
5858
import org.xml.sax.ContentHandler;
5959
import org.xml.sax.SAXException;
6060

61-
/** The class responsible for loading extracted content into Solr. */
61+
/**
62+
* The class responsible for loading extracted content into Solr.
63+
*
64+
* @deprecated Will be replaced with something similar that calls out to a separate Tika Server
65+
* process running in its own JVM.
66+
*/
67+
@Deprecated(since = "9.10.0")
6268
public class ExtractingDocumentLoader extends ContentStreamLoader {
6369

6470
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

solr/modules/extraction/src/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333
/**
3434
* Handler for rich documents like PDF or Word or any other file format that Tika handles that need
3535
* the text to be extracted first from the document.
36+
*
37+
* @deprecated Will be replaced with something similar that calls out to a separate Tika Server
38+
* process running in its own JVM.
3639
*/
40+
@Deprecated(since = "9.10.0")
3741
public class ExtractingRequestHandler extends ContentStreamHandlerBase
3842
implements SolrCoreAware, PermissionNameProvider {
3943

0 commit comments

Comments
 (0)