dtype for doc_id and no more munging on index lines