The benchmark indices surged on Wednesday, rallying for the third trading session. Positive cues from other Asian stock markets boosted sentiment. The Nifty settled a tad below the 17,500 mark after hitting the day's high of 17,522.50 in late trade. Banks, financials and media shares advanced while metals, pharma and healthcare stocks declined.