Re: Doing a query based on partial nodenames.

2009-10-05 Thread Alexander Klimetschek
On Mon, Oct 5, 2009 at 12:14, Simon Gaeremynck gaeremyn...@gmail.com wrote: I think jcr:contains(., 'week') only matches properties and not nodenames which is how the spec defines it (I think?) so this is good. AFAIK Jackrabbit will index the node name as well. Unfortunately, I can't set the

Re: Doing a query based on partial nodenames.

2009-10-05 Thread Simon Gaeremynck
Thank you for your input on this. We have decided to write a listener that will set the properties once it it is triggered. Regards, Simon 2009/10/5 Alexander Klimetschek aklim...@day.com On Mon, Oct 5, 2009 at 12:14, Simon Gaeremynck gaeremyn...@gmail.com wrote: I think jcr:contains(.,

Doing a query based on partial nodenames.

2009-10-01 Thread Simon Gaeremynck
Hi, I am trying to do a query where I want to get a set of nodes by matching their names to a string. For example: Repository: /sites/mysite/_files/WeekI_Day1 /sites/mysite/_files/WeekI_Day2 /sites/mysite/_files/WeekII_Day1 /sites/mysite/_files/WeekII_Day2 I would like to be able to do a query

Re: Doing a query based on partial nodenames.

2009-10-01 Thread Alexander Klimetschek
On Thu, Oct 1, 2009 at 16:06, Simon Gaeremynck gaeremyn...@gmail.com wrote: I am trying to do a query where I want to get a set of nodes by matching their names to a string. For example: Repository: /sites/mysite/_files/WeekI_Day1 /sites/mysite/_files/WeekI_Day2