Store each entry of allDocs as a JSON file under outputDir/documents/, collision-suffixing duplicate dok_ids and returning the written count.
allDocs
outputDir/documents/
Store each entry of
allDocsas a JSON file underoutputDir/documents/, collision-suffixing duplicate dok_ids and returning the written count.