(#993) - Use allDocs to batch generation 1 docs

handle deleted docs correctly (they could have been deleted via POST with
`_deleted: true` without removing data)