jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse" <dan.diepho...@mulesource.com>
Subject search for a node with a path like...
Date Wed, 20 Aug 2008 14:29:09 GMT
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
-- 
Dan Diephouse
http://mulesource.com | http://netzooid.com/blog

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message