At 4:43 PM +0000 3/11/01, Tony Crockford wrote:
>I'm using the keywords option on the search form to restrict search
>results.
...
>Hidden keywords added to the search string that include punctation or
>"and"  cause a failure to search.  Why?  and what can I do to get around

Unfortunately, the keywords field has to be handled differently at 
the moment from the regular words, so the same "cleanup" is not 
performed on them. (For example, htsearch doesn't do fuzzy algorithms 
on the keywords).

It's a bug. Unfortunately the keywords field has not received the 
same care and attention as the main query.

In your case, you say they're automatically generated, so a 
workaround for your case would be to put in some filtering into 
whatever is generating the keywords to clean them up beforehand. For 
one, strip out "and" and "or" which will be misinterpreted by the 
boolean query parser and for another, strip out punctuation since 
this will not be removed from the keywords.

-- 
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to