thank you! I was indeed using lucene 2.0 and it works very nicely with 2.1
thanks!
Martin
On Tuesday 15 May 2007 09:59:42 Michael Busch wrote:
> Martin Kobele wrote:
> > Hi,
> >
> > I tried to parse the following phrase: "foo \"bar\""
> > I get the following exception:
> > org.apache.lucene.query
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
Martin Kobele 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: after : "\") "
Am I mistaken that "foo \"bar\"" is a valid phrase?
Thanks!
Martin
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: after : "\") "
Am I mistaken that "foo \"bar\"" is a valid phrase?
Thanks!
Martin
pgp6qEn6ntvUi.pgp
Descript