Improved docstrings on search_source_for_patterns