Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2865

WARC exporter support for metadata and dropping empty responses

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 1.19
    • None
    • None
    • Patch Available

    Description

      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:

      • -includeOnlySuccessfulResponses 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 save space.

      Attachments

        1. NUTCH-2865.patch
          10 kB
          Markus Jelsma
        2. NUTCH-2865.patch
          10 kB
          Markus Jelsma
        3. NUTCH-2865.patch
          15 kB
          Markus Jelsma

        Issue Links

          Activity

            People

              markus17 Markus Jelsma
              markus17 Markus Jelsma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: