create index on d_module.doc_id and d_image.doc_id