Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 25032 invoked from network); 8 Feb 2007 03:09:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 03:09:01 -0000 Received: (qmail 12559 invoked by uid 500); 8 Feb 2007 03:09:08 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 12347 invoked by uid 500); 8 Feb 2007 03:09:07 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 12336 invoked by uid 99); 8 Feb 2007 03:09:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 19:09:07 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of akarasulu@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 19:08:56 -0800 Received: by an-out-0708.google.com with SMTP id b15so339275ana for ; Wed, 07 Feb 2007 19:08:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:sender; b=PHmazSHlIbvdQVsg3AKOuaVvIfZTGgDnoh/Vowtq0yp8qlW/VRSFFnXBVLaqaZ9XHbcq19hkbFMnWjQOFnGGQAd3xOFt8Bx6tCJoQcAs712R0K5oJXyPkJZx8GTYXjdNXDSPOvoNT0zZZbEGOBl8B+JyTISBX9XRORWbNG1czkU= Received: by 10.100.122.8 with SMTP id u8mr9288470anc.1170904116213; Wed, 07 Feb 2007 19:08:36 -0800 (PST) Received: from ?172.16.1.7? ( [65.80.200.112]) by mx.google.com with ESMTP id 3sm3337005wrh.2007.02.07.19.08.34; Wed, 07 Feb 2007 19:08:35 -0800 (PST) Message-ID: <45CA94C5.2010702@apache.org> Date: Wed, 07 Feb 2007 22:11:01 -0500 From: Alex Karasulu Reply-To: akarasulu@apache.org Organization: Apache Software Foundation User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Search filter bug and question References: <45CA6684.3060208@eprimepoint.com> <45CA6AB6.2040807@gmail.com> In-Reply-To: <45CA6AB6.2040807@gmail.com> Content-Type: multipart/mixed; boundary="------------080204040102090208020901" Sender: Alex Karasulu X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------080204040102090208020901 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Emmanuel Lecharny wrote: > Dave Bothwell a �crit : > ... >> >> It appears the AND operator and associated parentheses are being >> stripped away. > > Good find ! But you are lucky :) It has been fixed last saturday ... > (https://issues.apache.org/jira/browse/DIRSERVER-823) > What you can do is to get a nighty build or build the server from the > source. (nighty builds are *temporarily* available from > http://www.iktek.com/index.jsp?rubrique=ads) Might want to switch to 1.0.1-SNAPSHOTs for now or wait for 1.0.1 to be released here in a few days thanks to Emmanuel's hard work. >> (2) >> >> My question has to do with the filter statement: >> >> (| (objectClass=groupOfNames)[0] (objectClass=groupOfUniqueNames)[0] )[0] >> >> I have not been able to hunt down information about the [0] syntax, >> which appears to be new to version 1.0.0. If someone can enlighten me >> or perhaps point me in the direction of the appropriate RFC I would >> greatly appreciate it. > > uh ? Where did you found this syntax? Isn't it possible that it's an > artifact you get from logs? > > AFAIK, those [0] are simply not allowed... These are scan counts from the optimizer which is inserted into the filter nodes. The jdbm backend uses these to determine the best way to evaluate the filter on the entries in the partition. Cheers, Alex --------------080204040102090208020901 Content-Type: text/x-vcard; charset=utf-8; name="akarasulu.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="akarasulu.vcf" begin:vcard fn:Alex Karasulu n:Karasulu;Alex org:Apache Software Foundation;Apache Directory adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA email;internet:akarasulu@apache.org title:Member, V.P. tel;work:(904) 791-2766 tel;fax:(904) 808-4789 tel;home:(904) 808-4789 tel;cell:(904) 315-4901 note;quoted-printable:AIM: alexokarasulu=0D=0A= MSN: aok123@bellsouth.net=0D=0A= Yahoo!: alexkarasulu=0D=0A= IRC: aok=0D=0A= PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A= x-mozilla-html:FALSE url:http://people.apache.org/~akarasulu version:2.1 end:vcard --------------080204040102090208020901--