Stocks turned positive late in the session on Friday, recovering from a drop of more than 1 percent earlier in the day as investors snapped up technology and materials shares.

The Dow Jones industrial average <.DJI> added 10.05 points, or 0.10 percent, to end unofficially at 10,012.23. The Standard & Poor's 500 Index <.SPX> gained 3.08 points, or 0.29 percent, to finish unofficially at 1,066.19. The Nasdaq Composite Index <.IXIC> rose 15.69 points, or 0.74 percent, to close unofficially at 2,141.12.

(Reporting by Leah Schnurr; Editing by Jan Paschal)