The S&P 500 edged down by 0.1% Thursday after flirting with its record high in the morning and falling by as much as 1.5% in the midday hours. On Thursday:The S&P 500 fell 9.02 points, or 0.1%, to 6,969.01. The Russell 2000 index of smaller companies rose 1.23 points, or less than 0.1%, to 2,654.78. For the week:The S&P 500 is up 53.40 points, or 0.8%. The Russell 2000 is up 172.87 points, or 7%.