The search app on the site has been working pretty well, but yesterday James Savidge pointed out a bad link in the results from one of the queries. In particular, the link back to the original post for the media object was bad, using /MediaSearch instead of /blog.
Turns out there was a simple reason for that; some of the records had relative urls of the form blogView?entry=.... instead of the fully qualified form. So, when an app running in the path MediaSearch showed those urls.... bad results. Were I more expert in the ways of Apache rewrite rules, I could have applied a quick rul, but even so, that would have left bad data as a landmine for later. So... a few lines of SQL later, and the problem is all gone. There shouldn't be any more relative url landmines lurking in there :)