Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [sooke] Stop Words Global...

Quote Reply
Re: [sooke] Stop Words Global... In reply to
In Reply To:
Sorry to butt in here, but I am just wondering, would a stop word or query filter of some sort improve performance by not allowing searches on common words? For example you could filter out single digit letters, swear words etc.

This would also prevent prankster search queries showing up in the search stats.

There is already a stop word and single digit filter built into Links SQL. The stop words are found in /admin/GT/SQL/Search/Base/Common.pm (line 24). By default a query must be 3 characters in length. This is set in /admin/GT/SQL/Search/Base/Search.pm (line 56). You can change the values of both, but you will have to reindex.

Sean
Subject Author Views Date
Thread Stop Words Global... SeanP 6370 Apr 26, 2002, 10:09 AM
Thread Re: [SeanP] Stop Words Global...
Alex 6250 Apr 26, 2002, 1:24 PM
Post Re: [Alex] Stop Words Global...
SeanP 6172 Apr 26, 2002, 1:42 PM
Thread Re: [Alex] Stop Words Global...
SeanP 6187 Apr 26, 2002, 6:44 PM
Thread Re: [SeanP] Stop Words Global...
Ian 6199 Apr 27, 2002, 8:11 PM
Thread Re: [sooke] Stop Words Global...
SeanP 6140 Apr 27, 2002, 10:14 PM
Post Re: [SeanP] Stop Words Global...
Ian 6161 Apr 27, 2002, 10:16 PM
Post Re: [Alex] Stop Words Global...
SeanP 6084 May 1, 2002, 9:52 AM
Thread Re: [Alex] Stop Words Global...
SeanP 6085 May 7, 2002, 5:18 PM
Thread Re: [SeanP] Stop Words Global...
SeanP 6037 May 10, 2002, 8:13 AM
Post Re: [SeanP] Stop Words Global...
SeanP 6045 May 10, 2002, 10:25 AM
Thread Re: [SeanP] Stop Words Global...
SSmeredith 5762 Feb 14, 2003, 5:59 AM
Post Re: [SSmeredith] Stop Words Global...
Paul 5734 Feb 14, 2003, 4:42 PM
Thread Re: [SSmeredith] Stop Words Global...
Andy 5734 Feb 15, 2003, 2:03 AM
Thread Re: Stop Words Global...
SSmeredith 5710 Feb 15, 2003, 5:43 AM
Post Re: [SSmeredith] Stop Words Global...
Andy 5716 Feb 15, 2003, 6:08 AM