def get_instances(self):
doc_ids = list(self.doc_ids)<EOL>docs = [self.get_doc_content(doc_id) for doc_id in doc_ids]<EOL>doc_nums = [self.doc2index[doc_id] for doc_id in doc_ids]<EOL>return docs, zip(doc_ids, doc_nums)<EOL>
Get all data