Unfortunately, the QueryParser doesn't handle any escaping inside a quoted
string.
http://www.mail-archive.com/java-user@lucene.apache.org/msg02354.html
-Yonik
Now hiring -- http://tinyurl.com/7m67g
On 10/4/05, Matt Magoffin <[EMAIL PROTECTED]> wrote:
>
> I'm having a problem getting the QueryPar
I'm having a problem getting the QueryParser to correctly parse a string
like the following:
addr:"Foo \"Bar\" Street"
Should this work, or is there some other way to escape double quotes
within a quoted query term? Here is a unit test that shows the problem:
import junit.framework.TestCase;
im