You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (Jira)" <ji...@apache.org> on 2021/05/20 10:13:00 UTC

[jira] [Commented] (NUTCH-2865) WARC exporter support for metadata and dropping empty responses

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

Markus Jelsma commented on NUTCH-2865:
--------------------------------------

Updated patch, there was still a println() somewhere.

> WARC exporter support for metadata and dropping empty responses
> ---------------------------------------------------------------
>
>                 Key: NUTCH-2865
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2865
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Minor
>             Fix For: 1.19
>
>         Attachments: NUTCH-2865.patch, NUTCH-2865.patch
>
>
> WARCExporter is a handy tool to dump the segments. Unfortunately it also emits WARC records for status' other than success of notmodified, which accounts for a decent number in each crawl cycle. It also doesn't emit parsed metadata or extracted text. It does now.
>  
> This patch adds three switches:
>  * -omitEmptyResponses to only emit records of success or notmodified
>  * -includeParseData to also emit parse metadata as WARC metadata record
>  * -includeParseText to also emit extracted text as WARC metadata
> Both metadata objects are stored in the same WARC metadata record to safe space.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)