Experimental feature: Related entries
I’m experimenting with using MySQL full text indexing to generate a list of “related entries” for each entry (click on an item’s permalink to see it in action). It works by concatenating the item’s title and entry body together and running a full text search on it, which sounds horendously inefficient but seems to work surpsingly quickly. If I decide to keep the feature I’ll probably cache the results somewhere to reduce the overhead, but for the moment it’s fast enough.
Update: I’ve turned it off again—it was resulting in ugly database timeouts all over the place. I’ll switch it back on once I’ve added caching.
Update 2: It’s back on again now, with caching. I’m still getting quite a few database timeouts for some reason—if they don’t resolve themselves I’ll have to do some more tweaking.
kellan - 25th April 2003 19:33 - #
Simon Willison - 25th April 2003 19:41 - #
Harry Fuecks - 25th April 2003 20:06 - #
Why did " Gone to Glastonbury" show up under related articles?
Andrew - 25th April 2003 22:43 - #
Martin - 25th April 2003 23:37 - #
Martin - 25th April 2003 23:40 - #
Simon Willison - 26th April 2003 00:33 - #
Simon Willison - 26th April 2003 01:00 - #
Donncha - 29th April 2003 15:13 - #
Adam Kalsey - 1st May 2003 18:24 - #
Pepino - 13th May 2003 20:54 - #
owen - 16th December 2003 19:12 - #