Beispiel #1
0
def status():
    """Display status info for Elastic Search"""
    print json.dumps(search.status(), indent=4)
Beispiel #2
0
def es_is_running():
    try:
        return bool(search.status())
    except SocketError, e:
        return False