From dev-return-7604-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Jun 27 18:10:52 2006 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 78311 invoked from network); 27 Jun 2006 18:10:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 18:10:52 -0000 Received: (qmail 21640 invoked by uid 500); 27 Jun 2006 18:10:50 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 21611 invoked by uid 500); 27 Jun 2006 18:10:50 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 21601 invoked by uid 99); 27 Jun 2006 18:10:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 11:10:49 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=RCVD_IN_NJABL_PROXY,RCVD_IN_SORBS_SOCKS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gcaj-jackrabbit-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 11:10:48 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FvI0g-0007RO-9M for dev@jackrabbit.apache.org; Tue, 27 Jun 2006 20:10:03 +0200 Received: from 200-181-159-136.ctame7044.dsl.brasiltelecom.net.br ([200.181.159.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jun 2006 20:10:02 +0200 Received: from piccinatto by 200-181-159-136.ctame7044.dsl.brasiltelecom.net.br with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jun 2006 20:10:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@jackrabbit.apache.org From: Helio Subject: Re: query feature extensions Date: Tue, 27 Jun 2006 17:59:53 +0000 (UTC) Lines: 41 Message-ID: References: <4430CAFC.4000708@gmx.net> <510143ac0604050341q25058566h40592c2834be4e54@mail.gmail.com> <44343C37.1070509@anyware-tech.com> <4434C15E.2000602@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 200.181.159.136 (Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Marcel Reutegger gmx.net> writes: > > Cédric Damioli wrote: > > Jukka Zitting a écrit : > >> 2) Support for predicates in location steps: > >> > >> > >> //element(*,nt:file)[ jcr:created>'...']/jcr:content[ jcr:lastModified<'...'] > >> > >> > >> > > This one already works, don't it ? > > I run many queries like this one in my app. > > I don't know if it belongs to JCR 1.0, but Jackrabbit handles it correctly. > > as per the jcr specification only a predicate at the last location step > must be supported. so, this is an extension to the jcr 1.0 spec that > might find its way into jsr-283. > > btw, thanks for the priority lists sent so far. > > regards > marcel > > My wish is that jackrabbit supports searches expressions like this (in sql): SELECT * FROM my:base WHERE jcr:path LIKE '/FOLDER1/F%' (where "jcr:path would be whatever other word that could refers to the path...) So whatever the name of the child nodes of /FOLDER1, if it begins with "F" and it is kind of "my:base", it will be returned and theirs child nodes too. I don't know if this kind of wish was already posted by someone, but, only to increase this list, here you are. Thanks Helio.