Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 66832 invoked from network); 11 Sep 2009 14:30:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 14:30:23 -0000 Received: (qmail 12473 invoked by uid 500); 11 Sep 2009 14:30:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 12453 invoked by uid 500); 11 Sep 2009 14:30:22 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 12435 invoked by uid 99); 11 Sep 2009 14:30:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 14:30:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mreutegg@day.com designates 207.126.148.181 as permitted sender) Received: from [207.126.148.181] (HELO eu3sys201aog001.obsmtp.com) (207.126.148.181) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 11 Sep 2009 14:30:11 +0000 Received: from source ([209.85.219.222]) by eu3sys201aob001.postini.com ([207.126.154.11]) with SMTP ID DSNKSqpe3hJm22287SH2wg2N6cBo5uwKoDg0@postini.com; Fri, 11 Sep 2009 14:29:50 UTC Received: by ewy22 with SMTP id 22so1163153ewy.14 for ; Fri, 11 Sep 2009 07:29:50 -0700 (PDT) MIME-Version: 1.0 Sender: mreutegg@day.com Received: by 10.210.7.17 with SMTP id 17mr664249ebg.17.1252679389862; Fri, 11 Sep 2009 07:29:49 -0700 (PDT) In-Reply-To: <5422153f0909090114m4d8a89efi16bb9cc8e3ed185c@mail.gmail.com> References: <5422153f0909090114m4d8a89efi16bb9cc8e3ed185c@mail.gmail.com> Date: Fri, 11 Sep 2009 16:29:49 +0200 X-Google-Sender-Auth: f2d4e136b4c4e5b8 Message-ID: Subject: Re: indexing configuration From: Marcel Reutegger To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Wed, Sep 9, 2009 at 10:14, Radu Ana-Maria wrote: > i have some questions: > 1. since the condition for ancestor can be write :*/ for the parent can b= e > write as well yes? yes, that's possible as well. > =A0 =A0 =A0- because i write something like this: > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 condition=3D"parent::*/@versionDoc =3D 'da' "> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 and all the nodes of type plainDocument =A0are still inde= xing even if > are children of a node that have property <> am i mi= ssing > something in my code? that looks correct. can you please post the complete configuration together with the node type definitions that you have? thanks. > 2. can i make a condition that referes a parent of a parent : > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 condition=3D"parent::*/*/@versionDoc =3D 'da' "> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (the node's are= still indexed ..this > code is ignored) > =A0 =A0 =A0 =A0 is this a correct code? if not, can i do this in an other= way? how? that's not possible. you cannot use multiple slashes in a condition. regards marcel