more api optimizations: iter_docs to get cases and remove reverse indices