jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cont...@jakubpawlowicz.com
Subject Searching by date
Date Mon, 22 Aug 2005 05:57:59 GMT

I've been playing with Jackrabbit for some time and I'm having  
problems with searching by properties with a date value  
I'm trying to define a constraint to find only the nodes, let's say  
from the year 2005.
So I'm trying to perform XPath queries like
"//*[jcr:contains(@myDateProperty, '2005')]" or
"//*[jcr:like(@myDateProperty, '2005-%')]"

But that doesn't work - each time a set of found nodes is empty.
Does anyone know how to perform that kind of searching?
Any help would be highly appreciated.

Best regards

View raw message