From users-return-12846-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Sep 30 09:18:27 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 88815 invoked from network); 30 Sep 2009 09:18:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 09:18:27 -0000 Received: (qmail 18435 invoked by uid 500); 30 Sep 2009 09:18:26 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 18381 invoked by uid 500); 30 Sep 2009 09:18:26 -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 18370 invoked by uid 99); 30 Sep 2009 09:18:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 09:18:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.89 as permitted sender) Received: from [207.126.148.89] (HELO eu3sys201aog103.obsmtp.com) (207.126.148.89) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Sep 2009 09:18:17 +0000 Received: from source ([209.85.216.173]) by eu3sys201aob103.postini.com ([207.126.154.11]) with SMTP ID DSNKSsMiQvcD7NY5g7IfM/cK+3I0e1IVeAFv@postini.com; Wed, 30 Sep 2009 09:17:56 UTC Received: by pxi3 with SMTP id 3so8058559pxi.31 for ; Wed, 30 Sep 2009 02:17:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.136.5 with SMTP id j5mr286443rvd.0.1254302274278; Wed, 30 Sep 2009 02:17:54 -0700 (PDT) In-Reply-To: <25675528.post@talk.nabble.com> References: <25664720.post@talk.nabble.com> <25675528.post@talk.nabble.com> Date: Wed, 30 Sep 2009 11:17:54 +0200 Message-ID: Subject: Re: recursive XPath in jackrabbit... From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Sep 30, 2009 at 08:13, Michael Planamente wrote: > an other question, isn't it possible to manage this without using index > aggregate, only through xpath? With "yes" I meant that your query should work: //element(*,nt:BLAH)//*[jcr:contains(.,term)] The rest was just a (maybe simpler) alternative. Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com