Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 86788 invoked from network); 9 Feb 2007 10:36:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2007 10:36:04 -0000 Received: (qmail 7269 invoked by uid 500); 9 Feb 2007 10:36:04 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 7240 invoked by uid 500); 9 Feb 2007 10:36:03 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 7229 invoked by uid 99); 9 Feb 2007 10:36:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 02:36:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Sachin.Kainth@atkinsglobal.com designates 217.69.20.190 as permitted sender) Received: from [217.69.20.190] (HELO cluster-d.mailcontrol.com) (217.69.20.190) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 02:35:49 -0800 Received: from SGBD012100.wsatkins.com ([193.117.24.24]) by rly24d.srv.mailcontrol.com (MailControl) with SMTP id l19AZMMC018497 for ; Fri, 9 Feb 2007 10:35:22 GMT Received: From SGBD012104.wsatkins.com ([10.202.26.18]) by SGBD012100.wsatkins.com (WebShield SMTP v4.5 MR2); id 1171017300265; Fri, 9 Feb 2007 10:35:00 +0000 Received: from SGBLOW2101.wsatkins.com ([10.22.33.30]) by SGBD012104.wsatkins.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 9 Feb 2007 10:35:00 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Empty search Date: Fri, 9 Feb 2007 10:34:58 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Empty search Thread-Index: AcdLq+9g4wxg6dcVRJ2l1iDR8wRkFgAieQjA References: From: "Kainth, Sachin" To: X-OriginalArrivalTime: 09 Feb 2007 10:35:00.0154 (UTC) FILETIME=[F34261A0:01C74C35] X-Scanned-By: MailControl A-07-06-80 (www.mailcontrol.com) on 10.68.0.134 X-Virus-Checked: Checked by ClamAV on apache.org Yep it is the queryparser that I'm referring to. Just sounds odd to me. An empty string search should be handled properly I think. It should simply to nothing.=20 -----Original Message----- From: karl wettin [mailto:karl.wettin@gmail.com]=20 Sent: 08 February 2007 18:05 To: java-user@lucene.apache.org Subject: Re: Empty search 8 feb 2007 kl. 18.46 skrev Kainth, Sachin: > Is it my imagination or does lucene produce an error if you present it > with an empty string to search for? I presume you are referring to the QueryParser? It sounds about right that it would throw an exception at some point if you supplied it an empty input. -- karl --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150) This email and any attached files are confidential and copyright protected.= If you are not the addressee, any dissemination of this communication is s= trictly prohibited. Unless otherwise expressly agreed in writing, nothing s= tated in this communication shall be legally binding. The ultimate parent company of the Atkins Group is WS Atkins plc. Register= ed in England No. 1885586. Registered Office Woodcote Grove, Ashley Road, = Epsom, Surrey KT18 5BW. Consider the environment. Please don't print this e-mail unless you really = need to.=20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org