Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 12290 invoked from network); 25 Oct 2004 22:35:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Oct 2004 22:35:21 -0000 Received: (qmail 87633 invoked by uid 500); 25 Oct 2004 22:35:17 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 87228 invoked by uid 500); 25 Oct 2004 22:35:14 -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 87214 invoked by uid 99); 25 Oct 2004 22:35:13 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_40_50,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of Rossen.Angelov@thomsonmedia.com designates 207.241.10.34 as permitted sender) Received: from [207.241.10.34] (HELO tmgate2.thomsonmedia.com) (207.241.10.34) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Oct 2004 15:35:12 -0700 Received: from tmskoex01.tm.thomsonmedia.com (ip-33.bankinfo.com [207.241.10.33]) by tmgate2.thomsonmedia.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id i9PMZ9jL008515 for ; Mon, 25 Oct 2004 17:35:10 -0500 (CDT) Received: by tmskoex01.tm.thomsonmedia.com with Internet Mail Service (5.5.2657.72) id ; Mon, 25 Oct 2004 17:35:09 -0500 Message-ID: <4F8DDDFDAC9A864AAED5BB875129DF4B0690C963@tmskoex01.tm.thomsonmedia.com> From: "Angelov, Rossen" To: "'Lucene Users List'" Subject: BooleanQuery - TooManyClauses Date: Mon, 25 Oct 2004 17:35:08 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4BAE2.E1B25C68" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4BAE2.E1B25C68 Content-Type: text/plain; charset="iso-8859-1" Hi, Why there is a limit on the number of clauses? and is there any harm in setting MaxClauseCount to Integer.MAX_VALUE? I'm using a Range Query on a field that represents dates and getting BooleanQuery$TooManyClauses exception. This is the query - +/article/createddateiso8601:[20030101000000 TO 20031231999999] There are currently over 51,000 documents indexed and every day 30 to 50 new documents are being indexed. Lucene 1.4.2 Thanks, Ross "This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution." ------_=_NextPart_001_01C4BAE2.E1B25C68--