Indian stock market surged to an all-time high on Wednesday, driven by index heavyweight HDFC Bank following a likely increase in its MSCI weightage.