Doesn't this rely on all courses being regularly re-indexed? Otherwise if a course is updated when it is new and then isn't re-indexed for a while it will still be flagged as new? How about storing the latest date involved in the course and then doing a search on the date to see if it's from within 2 weeks of the date the search is done.