Works fine as long as you escape your query correctly -- in java code:
String query = "\"foo \\\"bar\\\"\"" On 5/15/07, Martin Kobele <[EMAIL PROTECTED]> wrote:
Hi, I tried to parse the following phrase: "foo \"bar\"" I get the following exception: org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 18. Encountered: <EOF> after : "\") " Am I mistaken that "foo \"bar\"" is a valid phrase? Thanks! Martin