lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Jain <>
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:
For additional commands, e-mail:

View raw message