lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lamprecht <clampre...@gmail.com>
Subject Re: Query.toString(0 does not escape special characters
Date Tue, 24 May 2005 17:15:51 GMT
Hi Peter,

See the method escape(String s) of QueryParser, it may do what you want.


On 5/24/05, Peter Gelderbloem <Peter.Gelderbloem@mediasurface.com> wrote:
> Hi,
> I am building queries using the query api and when I use } in my fieldname
> and then call toString on the query, QueryParser throws a ParseException
> when trying to parse it. How do I fix this?
> 
> Regards
> Peter Gelderbloem
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
>

---------------------------------------------------------------------
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