Updated elasticsearch to hibernate4