@czue I'm not sure if this is what you were meaning about using iter_docs. I'm also not sure where the memory issue would come in since each doc is fetched individually and not as part of the view (unless you're concerned about getting too many results from the view)