Added elastic search debug