add doc limit to has_text_of