From general-return-69-apmail-lucene-general-archive=lucene.apache.org@lucene.apache.org Thu Jul 21 16:51:57 2005 Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 84443 invoked from network); 21 Jul 2005 16:51:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2005 16:51:57 -0000 Received: (qmail 86221 invoked by uid 500); 21 Jul 2005 16:51:56 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 86126 invoked by uid 500); 21 Jul 2005 16:51:55 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 86113 invoked by uid 99); 21 Jul 2005 16:51:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2005 09:51:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [213.130.33.22] (HELO mail21b.london21-verio.com) (213.130.33.22) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 21 Jul 2005 09:51:50 -0700 Received: from www.seinet.es (62.73.179.228) by mail21b.london21-verio.com (RS ver 1.0.95vs) with SMTP id 4-1269854709 for ; Thu, 21 Jul 2005 17:51:51 +0100 (BST) Message-ID: <00a501c58e14$7cd48600$bf00a8c0@akenaton> From: "MariLuz Elola" To: Subject: OR'ed boolean queries Date: Thu, 21 Jul 2005 18:51:48 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A2_01C58E25.4002D9F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Loop-Detect:1 X-DistLoop-Detect:1 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_00A2_01C58E25.4002D9F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello I don=B4t know exactly how is working = PrefixQuery,WildcardQuery,RangeQuery and FuzzyQuery expanding to a = series of OR'ed boolean queries. For example I have an index with 200.000 registries. Each registry = has two metadatas, NAMEFILE and AGENCY. If I do the search=20 NAMEFILE:ef*=20 I am getting TooManyClauses error, but if I do the search=20 AGENCY:ef*=20 I am getting correctly the results without any error. Both metadatas has 200.000 values, but, in the metadata AGENCY there = are about 30 diferents values and in the metadata NAMEFILE each registry = has an unique value. Both metadatas have been indexed like Field.Text. The same happens with RangeQuery. For example: The user select PAGE > 0. Internally it is translated like = PAGE:{0000000000 TO 2147483647} (2147483647 This is = Integer.MAX_VALUE) This returns 130.000 registries with value > 0 without = TooManyClauses error, but using another numeric metadatas I am getting = TooManyClauses error.. The property maxClauseCount is by default (1024). Could anybody tell me how it is working? Thanks in advance =20 Mari Luz Elola ------=_NextPart_000_00A2_01C58E25.4002D9F0--