Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 62288 invoked from network); 17 Oct 2006 18:15:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2006 18:15:23 -0000 Received: (qmail 60700 invoked by uid 500); 17 Oct 2006 18:15:17 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 60669 invoked by uid 500); 17 Oct 2006 18:15:17 -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 60658 invoked by uid 99); 17 Oct 2006 18:15:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 11:15:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.104.95.27] (HELO leasing.marketingbrokers.com) (66.104.95.27) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 17 Oct 2006 11:15:14 -0700 Received: from ip66-104-95-25.z95-104-66.customer.algx.net ([66.104.95.25]) by leasing.marketingbrokers.com (JAMES SMTP Server 2.2.0) with SMTP ID 808 for ; Tue, 17 Oct 2006 11:00:34 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9ae195da31c2147dac0f4638404111ad@marketingbrokers.com> Content-Transfer-Encoding: 7bit From: Peter W. Subject: Re: BooleanQuery.TooManyClauses exception Date: Tue, 17 Oct 2006 11:14:31 -0700 To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.619.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Another solution is work with plain java dates and calendar objects, convert into Lucene strings using DateTools (resolution day) then query this field with two RangeFilters using ChainedFilter. You will never get the BooleanQuery error. Peter On Oct 17, 2006, at 10:57 AM, Bushey, John wrote: > How does reducing the > precision really help? Does Lucene track the max length of the indexed > value and use that to enumerate all the unique date/time values for the > query? In my case I have done nothing special to index my dates. I > just treat them as a string of numbers. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org