tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2096) Supply AutoDetectParser for embedded documents if user forgets to pass it in via ParseContext
Date Mon, 28 Nov 2016 17:19:59 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702545#comment-15702545

Hudson commented on TIKA-2096:

FAILURE: Integrated in Jenkins build tika-2.x-windows #79 (See [https://builds.apache.org/job/tika-2.x-windows/79/])
TIKA-2096 change default to extract embedded documents even if the user (tallison: rev e5e4d4d9193daa001821cdf7637c023d0abe072e)
* (add) tika-app/src/test/java/org/apache/tika/extractor/EmbeddedDocumentUtilTest.java
* (edit) tika-app/src/test/java/org/apache/tika/parser/fork/ForkParserIntegrationTest.java
* (edit) CHANGES.txt
* (edit) tika-parser-modules/tika-parser-database-module/src/test/java/org/apache/tika/parser/jdbc/SQLite3ParserTest.java
* (edit) tika-core/src/main/java/org/apache/tika/extractor/EmbeddedDocumentUtil.java
TIKA-2096 -- fix example, sorry... (tallison: rev de103c81fe225f08cdcbadf09437907bc3e4669b)
* (edit) tika-example/src/main/java/org/apache/tika/example/ParsingExample.java

> Supply AutoDetectParser for embedded documents if user forgets to pass it in via ParseContext
> ---------------------------------------------------------------------------------------------
>                 Key: TIKA-2096
>                 URL: https://issues.apache.org/jira/browse/TIKA-2096
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>             Fix For: 2.0, 1.15
> Currently, if users don't specify a Parser.class or an EmbeddedDocumentExtractor in the
ParseContext, then embedded documents will not be parsed.  I propose that we add an AutoDetectParser
automatically if a Parser or EmbeddedDocumentExtractor is not included in the ParseContext.
> If a user doesn't want to parse embedded objects, s/he could pass in an EmptyParser for
the Parser.class.
> In short, let's make the default be "parse everything", and the user has to figure out
how to parse only the container document if that's the desired behavior.
> This is a breaking change.  I propose adding it to 2.0 only.
> We were bitten by this on tika-server (TIKA-1584).  Solr (SOLR-7189) has been bitten
by this. [Kite|https://github.com/kite-sdk/kite/issues/397] is still suffering from this.

This message was sent by Atlassian JIRA

View raw message