I tried what you did and it does seem to work, except that in the file includes/searchwords.php there's a list of common words that won't be included in the search index, many of them 3 letter words. If you want to be able to search for those words you'd have to remove them from that array and rebuild your search index. There is a hook 'search_stopwords' right under where the array is defined, so you could make a plugin there and do whatever you want to the $badwords array.
|