add get_doc_vector, not tested