.getDocuments(fetch_ids);
for (int j = 0; j < max; j++) {
final CouchDocument doc = fetched_docs.get(j);
final JSONObject row = doc == null ?
new JSONObject("{\"error\":\"not_found\"}") :
doc.asJson();
rows.getJSONObject(j).put("doc", row);
}
}
stopWatch.lap("fetch");