lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush" <>
Subject RE: proper escape mechanism
Date Wed, 28 Mar 2007 02:48:11 GMT
Hi Max,

How did you escape it?  Did you try '\"foo bar'?  The same is true for 'foo
\(bar' for example, etc.

-- George Aroush

-----Original Message-----
From: Max Metral [] 
Sent: Wednesday, March 21, 2007 12:30 AM
Subject: proper escape mechanism

If someone types "foo bar (including the unbalanced quote) in my search,
QueryParser.Parse throws an error.  It seems to do this even if I escape the
query.  What's the proper way to handle cleaning user input for a Lucene




View raw message