lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Query validation in web app
Date Fri, 05 Mar 2004 09:18:29 GMT
Kelvin,

In what scenarios does QueryParser fail without throwing a 
ParseException?

I think we should fix those cases to ensure a ParseException is thrown.

	Erik


On Mar 5, 2004, at 3:21 AM, Kelvin Tan wrote:

> Lucene reacts pretty badly to non-wellformed queries, not throwing a
> checked/unchecked Exception but throwing an Error. The error message 
> is also
> unintelligible to a user (non-developer).
>
> How are people checking/validating queries from a web-app?
>
> I have some checked-in code in sandbox that does javascript 
> validation, but I
> wonder if there's a smarter way to do query validation..
>
> k
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


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


Mime
View raw message