4images Forum & Community

4images Help / Hilfe => Bug Fixes & Patches => Topic started by: V@no on March 22, 2009, 04:31:22 AM

Title: [1.7 - 1.7.6] Search stop terms not being used with english language
Post by: V@no on March 22, 2009, 04:31:22 AM
nuzecast (http://www.4homepages.de/forum/index.php?topic=24452.msg133996#msg133996) discovered a bug in search engine, that does not ignore "common" words during search (words such as "the", "are", "by", etc). The bug seems only affect english language pack that comes with 4images.
The bug is actually not in the code, but in misspelling the file with stop terms list.
The fix is simple - rename:
lang/english/stop_searchterms.txt
to this:
lang/english/search_stopterms.txt
Title: Re: [1.7 - 1.7.6] Search stop terms not being used with english language
Post by: MitchJohnson on January 14, 2010, 03:18:13 PM
Ah so we rename the file not edit the code. I've been putting up with this problem for a while now and have been trying to edit the code when all i needed to do was rename the file, lmao. So simple. Thanks V@no.