PDA

View Full Version : Suggestion: exclude certain words from search index


LanciaStratos
Wed 27th Feb '02, 7:05pm
Here's an idea - add an area in the Admin CP which allows you to enter basic words (such as "and", "the", "an", "was", "has", etc.)that you don't want added to your search index table. This would allow you to enable visitors to search for smaller words without adding extra size and strain to your database. :)

Wayne Luke
Wed 27th Feb '02, 7:45pm
It already exists... In your admin directory is a file called badwords.php. If the word you want to exclude you can simply add it there.

LanciaStratos
Wed 27th Feb '02, 7:56pm
Originally posted by wluke
It already exists... In your admin directory is a file called badwords.php. If the word you want to exclude you can simply add it there. Oh, great, thanks wluke! :)