On 29/02/2008, at 01:52, Otis Gospodnetic wrote:

Well, you may want to massage that user-entered query string a little bit, perhaps just enough to get rid of AND, OR, and NOT. What if the user enters *foo? Leading wildcards won't work, most likely. You can either let things break or proactively try to fix thing (like the annoying MS Word autocorrection feature ;)).


we are already removing everything but AND, OR and NOT so those are the only special things on the search string. We can remove the NOT and try to teach the users to use - in front of words like google, would that help?


--
Leonardo Santagada



Reply via email to