Indian equities came out of their two-day slumber to post a record close, rounding off a week of gains.