def map_doc2idx(self) -> Dict[int, Any]:
doc2idx = {doc_id: i for i, doc_id in enumerate(self.doc_ids)}<EOL>logger.info(<EOL>"<STR_LIT>".format(len(doc2idx)))<EOL>return doc2idx<EOL>
Map DB ids to integer ids.

        Returns:
            a dictionary of document titles and correspondent integer indices