[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=16505287#comment-16505287 ]

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

UNSTABLE: Integrated in Jenkins build tika-branch-1x #43 (See [https://builds.apache.org/job/tika-branch-1x/43/])
TIKA-2662 add streaming json serializer (tallison: [https://github.com/apache/tika/commit/90e3387883ae36eedc0a1375132949f234b20749])
* (edit) tika-app/src/main/resources/tika-app-batch-config.xml
* (edit) tika-core/src/main/java/org/apache/tika/utils/ParserUtils.java
* (edit) tika-core/src/main/java/org/apache/tika/sax/AbstractRecursiveParserWrapperHandler.java
* (edit) tika-batch/src/main/resources/org/apache/tika/batch/fs/default-tika-batch-config.xml
* (edit) tika-batch/src/main/java/org/apache/tika/batch/fs/RecursiveParserWrapperFSConsumer.java
* (add) tika-batch/src/main/java/org/apache/tika/batch/fs/StreamOutRPWFSConsumer.java
* (edit) tika-serialization/src/test/java/org/apache/tika/metadata/serialization/JsonMetadataListTest.java
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/RecursiveParserWrapperTest.java
* (edit) tika-batch/src/main/java/org/apache/tika/batch/fs/builders/BasicTikaFSConsumersBuilder.java
* (edit) tika-core/src/main/java/org/apache/tika/parser/RecursiveParserWrapper.java
* (edit) tika-app/src/test/java/org/apache/tika/cli/TikaCLIBatchIntegrationTest.java
* (add) tika-serialization/src/main/java/org/apache/tika/metadata/serialization/JsonStreamingSerializer.java
* (edit) tika-serialization/src/main/java/org/apache/tika/metadata/serialization/JsonMetadataList.java
* (edit) tika-batch/src/test/java/org/apache/tika/batch/RecursiveParserWrapperFSConsumerTest.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)