finish has_docs has_entities