lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Busch <busch...@gmail.com>
Subject Re: phrases containing escaped quotes
Date Tue, 15 May 2007 13:59:42 GMT
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: <EOF> after : "\") "
>
> Am I mistaken that "foo \"bar\"" is a valid phrase?
>
> Thanks!
> Martin
>   
Hi Martin,

which Lucene version are you using? This was a bug in Lucene 2.0 and 
earlier versions, but should be fixed in 2.1.


Regards,
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message