Technology stocks emerged as the primary drivers of the rally, with Infosys leading the charge with a 3.26% surge