The market had a beautiful day and two indexes notched record highs.