Reload corpus from tfid
Fix crash when docid is not found