def METHOD_NAME(client, prefix: str = "SearXNG_"):
    """Purge all keys with ``prefix`` from database.
    Queries all keys in the database by the given prefix and set expire time to
    zero.  The default prefix will drop all keys which has been set by SearXNG
    (drops SearXNG schema entirely from database).
    The implementation is the lua script from string :py:obj:`PURGE_BY_PREFIX`.
    The lua script uses EXPIRE_ instead of DEL_: if there are a lot keys to
    delete and/or their values are big, `DEL` could take more time and blocks
    the command loop while `EXPIRE` turns back immediate.
    :param prefix: prefix of the key to delete (default: ``SearXNG_``)
    :type name: str
    .. _EXPIRE: https://redis.io/commands/expire/
    .. _DEL: https://redis.io/commands/del/
    """
    script = lua_script_storage(client, PURGE_BY_PREFIX)
    script(args=[prefix])