Returns configured SEARCH dictionary from SEARCH_URL

def config(name='SEARCH_URL', default='simple://'):
    """Returns configured SEARCH dictionary from SEARCH_URL"""
    config = {}

    s = env(name, default)

    if s:
        config = parse_search_url(s)

    return config