Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Building tag cloud from search logs - suggestions wanted

Quote Reply
Building tag cloud from search logs - suggestions wanted
I've written a global to display a tag cloud based on the top x number of queries in the search log table, from the last y number of days. It's working pretty well and I am reasonably happy with it Wink.

One of the problems with using the search log table is that the counts become less meaningful the older the database is. Terms that may be popular on a short term basis e.g. 'Christmas', are not given the weighting they deserve in the tag cloud because the slog_count for consistently popular queries distorts the data. It would actually be easier to build a tag cloud if the terms weren't automatically grouped by the script i.e. if the log recorded each term and date separately.

I'm trying to work out some solutions to this, including resetting the slog_count column to zero either daily or weekly, or adding another column to track the weekly or daily counts on a rolling basis. Any other ideas or comments are welcome!
Subject Author Views Date
Thread Building tag cloud from search logs - suggestions wanted aus_dave 3141 Jun 24, 2008, 9:58 PM
Thread Re: [aus_dave] Building tag cloud from search logs - suggestions wanted
Andy 3039 Jun 24, 2008, 11:23 PM
Post Re: [Andy] Building tag cloud from search logs - suggestions wanted
aus_dave 3011 Jun 24, 2008, 11:44 PM