Hi, I was thinking of a statistics feature, to keep track of popular searches. You could track a table with keywords, users (if logged in), search page/view and timestamp etc.
It would provide a set of blocks like 'Top Searches', 'Recent Searches'.
And even itself it could be a search index, and they you would have 'Similar Searches'...
I might try something when I have time.
Comments
Comment #1
drunken monkeyThis doesn't need to be in the Search API module, and, in my opinion, also shouldn't. While only a part of the users will want such a feature, it would cost performance and memory for all others, too.
With
hook_search_api_query_alter()you have a very easy way to react upon search queries, and store whatever data in whichever way you want.Just create a custom module for it, this could be valuable to a lot of Search API users. I'd then just link to it from the Search API project page (although the list now starts to grow a bit out of control …).
Comment #2
branana commentedHere you go http://drupal.org/project/search_api_stats
Comment #3
branana commentedComment #4
drunken monkeyA bit late maybe, but I've now included it in the list.
Sorry, must have slipped me by originally.