U.S. stock indexes edged higher in midday trading Friday, recovering some of their losses from a day earlier. Consumer-focused companies and industrials stocks led the gainers. Energy companies also rose as crude oil prices headed higher. Phone and real estate companies were down the most. Investors were sizing up the latest company earnings and deal news and adjusting portfolios in the final hours of the second quarter.