Is there a way to negate the return of certain items that are returned with the Advanced Search.
For instance, lets say that I am searching for for the word
"owl" . Currently, the returned items also include "bowl",
"howling", etc.
Any ideas?
Is there a way to negate the return of certain items that are returned with the Advanced Search.
For instance, lets say that I am searching for for the word
"owl" . Currently, the returned items also include "bowl",
"howling", etc.
Any ideas?
I FOUND A SOLUTION that works for me.
I found a way to force and EXACT match, more or less.
It turns out that you can FORCE the inclusion of whitespace
in your keyword search by using the MySql wild card character "%".
So, in my previous example where I was looking for the word OWL,
I will now search for "% owl %" . What this does is to force
the word OWL to have whitespace at both ends of the word.
It seems to work for me. Thanks to all those that puzzled over this
with me.
where did you put the percentage signs in the code?
The percentage signs are not in the code but in the advanced search keywords input field. I think it would take some significant code work to change the advanced search php code to be able to do exact searches plus it might interfere with the regular search routines. One might be able to right an alternative advanced search php file that would be only for exact searches but that is a task that I am not ready to undertake.