Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 84189 invoked from network); 5 Mar 2004 20:12:46 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Mar 2004 20:12:46 -0000 Received: (qmail 57263 invoked by uid 500); 5 Mar 2004 20:12:30 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 57228 invoked by uid 500); 5 Mar 2004 20:12:30 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 57215 invoked from network); 5 Mar 2004 20:12:30 -0000 Received: from unknown (HELO web12706.mail.yahoo.com) (216.136.173.243) by daedalus.apache.org with SMTP; 5 Mar 2004 20:12:30 -0000 Message-ID: <20040305201235.37662.qmail@web12706.mail.yahoo.com> Received: from [83.131.115.110] by web12706.mail.yahoo.com via HTTP; Fri, 05 Mar 2004 12:12:35 PST Date: Fri, 5 Mar 2004 12:12:35 -0800 (PST) From: Otis Gospodnetic Subject: Re: Query validation in web app To: Lucene Users List In-Reply-To: <20040305191052.GX87033@rlx11.zapatec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Funny - Kelvin Tan is the author of that code :) Otis --- Dror Matalon 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