pprint(doc_ids) for debugging