[ https://issues.apache.org/jira/browse/SOLR-7632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023061#comment-18023061 ]
Jan Høydahl commented on SOLR-7632: ----------------------------------- Let me draw attention to my PR [https://github.com/apache/solr/pull/3670] which introduces the concept of Extraction Backends to the extraction handler. It implements the "local" existing code path as one backend. And it adds a new "tikaserver" backend implementation that delegates parsing to a remote Tika Server, eliminating the resource-hungry and dangerous in-process parsing in Solr itself. The PR is still a draft with many rough edges, but proves that it can serve as a drop-in replacement for the "local" backend, supporting "extractOnly", "capture", "xPath" and the rest of the update-params users use today. The plan is to first make the PR production ready, then split it in to parts. # The first part is the backend interface and local backend, with no new features. Merge it to branch_9x as well. # The second part is adding the new code and backport to 9x, while at the same time deprecating the local backend in 9x. # Third part is to remove the entire tika java dependency in main branch, leaving only the new implementation. Thoughts? > Change the ExtractingRequestHandler to use Tika-Server > ------------------------------------------------------ > > Key: SOLR-7632 > URL: https://issues.apache.org/jira/browse/SOLR-7632 > Project: Solr > Issue Type: Improvement > Components: contrib - Solr Cell (Tika extraction) > Reporter: Chris A. Mattmann > Assignee: Jan Høydahl > Priority: Major > Labels: gsoc2017, memex, pull-request-available > Time Spent: 7h 40m > Remaining Estimate: 0h > > It's a pain to upgrade Tika's jars all the times when we release, and if Tika > fails it messes up the ExtractingRequestHandler (e.g., the document type > caused Tika to fail, etc). A more reliable way and also separated, and easier > to deploy version of the ExtractingRequestHandler would make a network call > to the Tika JAXRS server, and then call Tika on the Solr server side, get the > results and then index the information that way. I have a patch in the works > from the DARPA Memex project and I hope to post it soon. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org