Cursor refactoring
`enumerate` and `collect` may skip documents if !stopOnError
update samples