Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 89093 invoked from network); 8 Oct 2005 12:51:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Oct 2005 12:51:18 -0000 Received: (qmail 85213 invoked by uid 500); 8 Oct 2005 12:51:17 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 85202 invoked by uid 99); 8 Oct 2005 12:51:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 05:51:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [84.234.68.10] (HELO yukatan.fi) (84.234.68.10) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 08 Oct 2005 05:51:19 -0700 Received: (qmail 13324 invoked by uid 48); 8 Oct 2005 12:50:54 -0000 Received: from YYYMMDCXI.dsl.saunalahti.fi (YYYMMDCXI.dsl.saunalahti.fi [85.76.8.113]) by yukatan.fi (Horde MIME library) with HTTP; Sat, 08 Oct 2005 15:50:53 +0300 Message-ID: <20051008155053.3segiyixmuiskwoc@yukatan.fi> Date: Sat, 08 Oct 2005 15:50:53 +0300 From: Jukka Zitting To: jackrabbit-dev@incubator.apache.org Subject: Re: Search on subnode properties References: <3b728ee90510070430m7764cfe7ka9693dec21865dbc@mail.gmail.com> <20051008152457.tm11rq0k435s08gc@yukatan.fi> In-Reply-To: <20051008152457.tm11rq0k435s08gc@yukatan.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I wrote: > At least the jcr:contains() function does not support child node > queries at the moment, so I unfortunately don't think you can yet > implement your search with just one XPath query. Another alternative from "//page[jcr:contains(paragraph,'foo')]" would of course be "//page[paragraph[jcr:contains(.,'foo')]]" but I believe Jackrabbit only supports the attribute axis within predicates. I think I'll file a separate Jira issue on this. BR, Jukka Zitting