lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dror Matalon <d...@zapatec.com>
Subject Re: Query validation in web app
Date Fri, 05 Mar 2004 21:21:55 GMT
I was responding to 

> > How are people checking/validating queries from a web-app?

So should I be embarrassed or should Kelvin be flattered :-)?


On Fri, Mar 05, 2004 at 12:12:35PM -0800, Otis Gospodnetic wrote:
> Funny - Kelvin Tan is the author of that code :)
> 
> Otis
> 
> --- Dror Matalon <dror@zapatec.com> wrote:
> > On Fri, Mar 05, 2004 at 04:21:07PM +0800, 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?
> > 
> > Look at the javascript validator in the Lucene sandbox. A quite
> > elegant
> > solution, unless you're opposed to using javascript.
> > 
> > > 
> > > 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
> > > 
> > 
> > -- 
> > Dror Matalon
> > Zapatec Inc 
> > 1700 MLK Way
> > Berkeley, CA 94709
> > http://www.fastbuzz.com
> > http://www.zapatec.com
> > 
> > ---------------------------------------------------------------------
> > 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
> 

-- 
Dror Matalon
Zapatec Inc 
1700 MLK Way
Berkeley, CA 94709
http://www.fastbuzz.com
http://www.zapatec.com

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