lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Jain <Eric.J...@isb-sib.ch>
Subject Re: Avoiding ParseExceptions
Date Wed, 07 Jun 2006 04:07:06 GMT
Chris Nokleberg wrote:
> I am using the QueryParser with a StandardAnalyzer. I would like to avoid
> or auto-correct anything that would lead to a ParseException. For example,
> I don't think you can get a parse exception from Google--even if you omit
> a closing quote it looks like it just closes it for you (please correct me
> if you know otherwise).

Would definitely be nice if the QueryParser had both a strict and a lenient 
mode. If you used the latter, it would of course wise to reflect the actual 
executed query back to the user, so it's clear what's going on.

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