add iter_all_docs
iter_all_docs complete