Pranjal Thakur scribbled on 3/2/07 7:41 AM:
> Can I make certain characters mean "or" if used within a search string. For
> example, I would want to look for "A or B" when the search text is "A,B". I
> have comma in my wordchars but I want that to be used only while indexing.
> For searching I want it to be interpreted as "or". Can this be done through
> some configuration setting? Or do I have to parse it manually before I do
> the search?
you would need to parse the search query manually.
$query =~ s/,/ OR /g;
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Users mailing list
Received on Fri Mar 2 08:54:27 2007