Elasticsearch debug status

if h.store.ES == nil || h.store.ES.Database == nil
This is the check we normally do.