Hmm, I thought this would have worked but it doesn't work fully and I can't understand why. Here's what I've done so far:
Edit the file modules\pages\advanced_search_result\header_php.php to make the following changes:
Change the line 325 from this:
Code:
$where_str .= " OR pd.products_description
LIKE '%:keywords%'";
To this
Code:
$where_str .= " OR MATCH(pd.products_description) AGAINST ('%:keywords%' IN BOOLEAN MODE)";
Then, our hosting provider has edited our my.conf file, adding the following code:
I can't understand why it has worked from some searches but not others. Maybe someone here can see what's causing this. Before I implemented the changes above, when I searched "ella" it would bring up results with the word within a word, like "cinderella". Now, when I search "ella" it's doing what I want and only finding the whole word results for "ella".
However, it's still finding part word results with other searches. For example, search the word "des" and it finds thirty nine pages of results as it's picking up words like "design" and "desire".
Try another one and search, "range" and it finds thirteen pages of results because of the word "orange".
I can't understand why it cured the "ella", "cinderella" but it hasn't cured anything else. Anyone?
Bookmarks