From lucene-user-return-11621-apmail-jakarta-lucene-user-archive=jakarta.apache.org@jakarta.apache.org Fri Dec 03 19:19:33 2004 Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 10906 invoked from network); 3 Dec 2004 19:19:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 19:19:33 -0000 Received: (qmail 80994 invoked by uid 500); 3 Dec 2004 19:19:25 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 80976 invoked by uid 500); 3 Dec 2004 19:19:25 -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 80962 invoked by uid 99); 3 Dec 2004 19:19:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fw.blueprint.org (HELO mail.blueprint.org) (38.112.109.12) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 11:19:24 -0800 Received: from Blueprint21 (blueprint-21.blueprint.org [10.0.0.40]) by mail.blueprint.org (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with SMTP id <0I8500F9YV091N@mail.blueprint.org> for lucene-user@jakarta.apache.org; Fri, 03 Dec 2004 14:19:21 -0500 (EST) Date: Fri, 03 Dec 2004 14:19:21 -0500 From: Shawn Konopinsky Subject: RE: Date Range Search throws IndexAccessException In-reply-to: To: Lucene Users List Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for the quick response Chris. The problem with using a Filter is that I want to be able to merely generate a text query based on the range information instead of having to modify the core search module which basically receives text queries. If I understand correctly, the Filter would actually have to be created and passed into the search method. Thoughts? Shawn. -----Original Message----- From: hossman@hal.rescomp.berkeley.edu [mailto:hossman@hal.rescomp.berkeley.edu]On Behalf Of Chris Hostetter Sent: Friday, December 03, 2004 1:33 PM To: Lucene Users List Subject: Re: Date Range Search throws IndexAccessException : I'm assuming that this must have something to do with how the date field : enumerates against the matches with 'by the second' granularity - and : thereby exceeding the maximum number of boolean clauses (please correct me : if I am wrong). I'm not so certain .. if you were really exceeding the max boolean clauses limit, you should get a "TooManyClauses" exception : Is there some way to reduce the granularity of the search to 'by the day' : granularity? Otherwise is there some way to perform this query so that I can : retrieve the results without error? take a look at the RangeFilter class i recently sent to the list (and is now in cvs) ... in exchange for giving up scoring, it doesn't suffer any of the Boolean Clause limitations of RangeQuery. -Hoss --------------------------------------------------------------------- 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