[jira] [Commented] (TIKA-2662) Add a streaming out option for the Json serialization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-2662) Add a streaming out option for the Json serialization

JIRA jira@apache.org

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

Hudson commented on TIKA-2662:
------------------------------

UNSTABLE: Integrated in Jenkins build Tika-trunk #1504 (See [https://builds.apache.org/job/Tika-trunk/1504/])
TIKA-2662 add a streaming writer for the RecursiveParserWrapper and (tallison: [https://github.com/apache/tika/commit/c844fc3928516f710a1e62ab99c4eb3f8ab27410])
* (edit) tika-batch/src/main/java/org/apache/tika/batch/fs/RecursiveParserWrapperFSConsumer.java
* (edit) tika-batch/src/main/resources/org/apache/tika/batch/fs/default-tika-batch-config.xml
* (edit) tika-core/src/main/java/org/apache/tika/parser/RecursiveParserWrapper.java
* (edit) tika-app/src/main/resources/tika-app-batch-config.xml
* (edit) tika-batch/src/test/java/org/apache/tika/batch/RecursiveParserWrapperFSConsumerTest.java
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/RecursiveParserWrapperTest.java
* (edit) tika-serialization/src/main/java/org/apache/tika/metadata/serialization/JsonMetadataList.java
* (add) tika-serialization/src/main/java/org/apache/tika/metadata/serialization/JsonStreamingSerializer.java
* (edit) tika-app/src/test/java/org/apache/tika/cli/TikaCLIBatchIntegrationTest.java
* (edit) tika-serialization/src/test/java/org/apache/tika/metadata/serialization/JsonMetadataListTest.java
* (edit) tika-core/src/main/java/org/apache/tika/sax/AbstractRecursiveParserWrapperHandler.java
* (add) tika-batch/src/main/java/org/apache/tika/batch/fs/StreamOutRPWFSConsumer.java
* (edit) tika-batch/src/main/java/org/apache/tika/batch/fs/builders/BasicTikaFSConsumersBuilder.java
* (edit) tika-core/src/main/java/org/apache/tika/utils/ParserUtils.java


> Add a streaming out option for the Json serialization
> -----------------------------------------------------
>
>                 Key: TIKA-2662
>                 URL: https://issues.apache.org/jira/browse/TIKA-2662
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 1.19, 2.0.0
>
>
> Depending on the configuration of the ForkParser, it might be useful for that and also for tika-batch to write out each embedded file once the parse for that embedded file has completed, rather than caching the entire output in memory.
> The downside to this is that the main document will now show up at the bottom of the list of metadata objects.  We can re-arrange when we deserialize, but anyone not using our deserialization will see this change in order.  Given that this is a breaking change, I'll make it optional.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)