Change to the way elasticsearch is being called.