collection = new TRECDocumentCollection(files,
documentFactory, SegmentedDocumentCollection.DEFAULT_BUFFER_SIZE, compression, metadataFile);
break;
case "warc/0.18":
collection = new WARCDocumentCollection(files, SegmentedDocumentCollection.DEFAULT_BUFFER_SIZE, compression, metadataFile);
break;
default:
LOGGER.error(String.format("Unknown document type [%s]", docType));
System.exit(-1);
throw new AssertionError();