Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 91174 invoked from network); 5 Mar 2004 09:18:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Mar 2004 09:18:48 -0000 Received: (qmail 7189 invoked by uid 500); 5 Mar 2004 09:18:19 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 6947 invoked by uid 500); 5 Mar 2004 09:18:18 -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 6934 invoked from network); 5 Mar 2004 09:18:18 -0000 Received: from unknown (HELO c000.snv.cp.net) (209.228.32.64) by daedalus.apache.org with SMTP; 5 Mar 2004 09:18:18 -0000 Received: (cpmta 21664 invoked from network); 5 Mar 2004 01:18:30 -0800 Received: from 24.51.109.181 (HELO ?192.168.1.102?) by smtp.hatcher.net (209.228.32.64) with SMTP; 5 Mar 2004 01:18:30 -0800 X-Sent: 5 Mar 2004 09:18:30 GMT Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <20043516217.664097@kelvin> References: <20043516217.664097@kelvin> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <110B94FA-6E86-11D8-A0D2-000393A564E6@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: Query validation in web app Date: Fri, 5 Mar 2004 04:18:29 -0500 To: "Lucene Users List" X-Mailer: Apple Mail (2.612) 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 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