hack elasticsearch support