Forums / Developer / New contrib: Title Weighed Search Plugin
Bruce Morrison
Friday 28 October 2005 12:26:44 am
Hi all,
I've released a hacked search plugin that sorts search results by search term frequency and adds a greater weight to the title of objects so they appear higher in the results.
Seehttp://ez.no/community/contribs/hacks/title_weighed_word_frequency_search_plugin
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
Tony Wood
Friday 28 October 2005 1:48:47 am
What a great idea Bruce.
Thanks for sharing.
Tony
Tony Wood : twitter.com/tonywood Vision with Technology Experts in eZ Publish consulting & development Power to the Editor! Free eZ Training : http://www.VisionWT.com/training eZ Future Podcast : http://www.VisionWT.com/eZ-Future
Kristof Coomans
Friday 28 October 2005 9:58:34 am
I didn't had the time to completely test it, but the following PHP warning always appears in the debug output when searching:
Undefined variable: accessList in .../plugins/twsearchengine/twsearchengine.php on line 487
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Saturday 29 October 2005 8:47:27 pm
Hi Kristof
I've had a quick look at the code and it appears that the variable in question is not required by the function in which it is refered to as a parameter.
This plugin was written for an site using 3.4.4 and is simply modification to the existing default search plugin.
Looking at the changelog for the default search plugin there appears to have been many changes since 3.4.4 :) I'll look at bringing the plugin up to date durning the week and re-release a 3.6+ version.
Sunday 30 October 2005 3:01:22 am
I've updated the plugin so that it is based on the 3.6 ezsearchengine plugin. This introduces the honouring of hidden nodes.
Thursday 17 November 2005 11:22:57 pm
Version 1.2 has been released. It fixes a bug in the SQL when doing a phrase search.