in memory doc iterator option