Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDB1848C6 for ; Wed, 29 Jun 2011 09:56:36 +0000 (UTC) Received: (qmail 38156 invoked by uid 500); 29 Jun 2011 09:56:35 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 37920 invoked by uid 500); 29 Jun 2011 09:56:20 -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 37867 invoked by uid 99); 29 Jun 2011 09:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 09:56:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.161.47 as permitted sender) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 09:56:04 +0000 Received: by fxg11 with SMTP id 11so1168068fxg.34 for ; Wed, 29 Jun 2011 02:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7XslhpF9s8EyMVi/FXVX5DDg3vrffwVGlBKvg7lPPMA=; b=kcIBZWjFuuecJHjYKVAurzknuU/gAbGuzPHH4uf5UscXitWhdMZORXUmE0BPqp4y2B NBuMJ91rUQyH9PJUr9IYc4Ajy8tozX3fotb3kHkeQ89U1YN7JDhEgPWVEXAqvoR+WGWi aT9enU7d1FawBbPt0ED4FFVMXloJoDNm879Ho= Received: by 10.223.2.141 with SMTP id 13mr971552faj.68.1309341344619; Wed, 29 Jun 2011 02:55:44 -0700 (PDT) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id m5sm722081fai.25.2011.06.29.02.55.43 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 29 Jun 2011 02:55:43 -0700 (PDT) Message-ID: <4E0AF69E.403@gmail.com> Date: Wed, 29 Jun 2011 11:55:42 +0200 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: SubLevel index questions References: <4E0AF28C.4050607@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 6/29/11 11:52 AM, Kiran Ayyagari wrote: > everything is correct except that we don't add any entries for RootDSE > i.e tuples with 0L > e.x if we search on RootDSE with sublevel scope *all* entries are > implicitly qualified as children > making subLevel index unnecessary for lookup Ahhh, stupid me, of course ! So at the end, the SubLevel index should be : <1L, 1L> <1L, 2L> <1L, 3L> <1L, 4L> <2L, 2L> <2L, 3L> <2L, 4L> <3L, 3L> <3L, 4L> <4L, 4L> right ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com