Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 92166 invoked from network); 25 Aug 2008 13:38:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Aug 2008 13:38:46 -0000 Received: (qmail 22370 invoked by uid 500); 25 Aug 2008 13:38:43 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 22354 invoked by uid 500); 25 Aug 2008 13:38:43 -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 22343 invoked by uid 99); 25 Aug 2008 13:38:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 06:38:42 -0700 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 marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 25 Aug 2008 13:37:43 +0000 Received: (qmail invoked by alias); 25 Aug 2008 13:38:10 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.68]) [62.192.10.254] by mail.gmx.net (mp065) with SMTP; 25 Aug 2008 15:38:10 +0200 X-Authenticated: #894343 X-Provags-ID: V01U2FsdGVkX1+TDk1YCSKTCobREZ411iPLqJTag2HpsOg1fMInyG RZOh3BgxbLEn6J Message-ID: <48B2B5BF.1040704@gmx.net> Date: Mon, 25 Aug 2008 15:38:07 +0200 From: Marcel Reutegger User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: search for a node with a path like... References: <813d89dc0808200729v3fe6dbabv252b0f6c9064bc69@mail.gmail.com> In-Reply-To: <813d89dc0808200729v3fe6dbabv252b0f6c9064bc69@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 X-Virus-Checked: Checked by ClamAV on apache.org Hi, no, that's not possible, but see also: http://markmail.org/message/6d3dwdpev2si2zf6 regards marcel Dan Diephouse wrote: > We'd like users to be able to search for a node in our database using a > suggest box type interface. So when they type in "/Foo/B" we can search > through and find a node called "/Foo/Bar". Is there any way to search by > path name? ideally something like: > > jcr:like(full-node-path(), '/Foo/B') > > Or do I have to parse out the various paths and construct some kind of query > like > > //Foo/jcr:like(local-name(), 'B') > > (not sure if that syntax is exactly right, but you get the idea) > > Dan