jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: search question
Date Wed, 21 Nov 2007 13:13:25 GMT
alex marina wrote:
> Is it possible doing a path search using like this: /aaa/bbb/ccc search like '%b%' (xpath
or sql)?

no, this is not possible. you will have to store the name of a node in a 
property, then you can the property in a query:

//element(*, my:type)[jcr:like(@my:nodeName, '%b')]

regards
  marcel

Mime
View raw message