Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-295

WARC10Collection incorrectly misses some documents

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      ClueWeb12_00/0000tw/0000tw-00.warc.gz should have 24644 records (of which 3 are redirects). Currently WARC10Collection only finds 23377 documents in that file.

        Attachments

          Activity

          craigm Craig Macdonald created issue -
          Hide
          craigm Craig Macdonald added a comment -

          The issue appears to be that line ending characters in WARC records are with DOS line endings (\r\n). We were counting only one byte.

          Show
          craigm Craig Macdonald added a comment - The issue appears to be that line ending characters in WARC records are with DOS line endings (\r\n). We were counting only one byte.
          Hide
          craigm Craig Macdonald added a comment -

          Other problem was that the HTTP status line (/usually/ 14 bytes) was not accounted for in the blob length

          Show
          craigm Craig Macdonald added a comment - Other problem was that the HTTP status line (/usually/ 14 bytes) was not accounted for in the blob length
          Hide
          craigm Craig Macdonald added a comment -

          These files address the issue.

          Show
          craigm Craig Macdonald added a comment - These files address the issue.
          craigm Craig Macdonald made changes -
          Field Original Value New Value
          Attachment WARC10Collection.java [ 10412 ]
          Attachment WARC018Collection.java [ 10413 ]
          Hide
          craigm Craig Macdonald added a comment -

          Committed r3816

          Show
          craigm Craig Macdonald added a comment - Committed r3816
          craigm Craig Macdonald made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          richardm Richard McCreadie made changes -
          Project TREC [ 10010 ] Terrier Core [ 10000 ]
          Key TREC-376 TR-295
          Workflow jira [ 10822 ] Terrier Open Source [ 10858 ]
          Affects Version/s 3.6 [ 10060 ]
          Affects Version/s 3.6 [ 10061 ]
          Component/s Core [ 10020 ]
          Fix Version/s 4.0 [ 10051 ]
          Fix Version/s 4.0 [ 10050 ]

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: