jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject searchin across a node hierarchy
Date Fri, 02 Feb 2007 12:17:33 GMT
[okm:resource] > nt:resource, mix:versionable
- okm:size (long) mandatory
- okm:author (string) mandatory

[okm:document] > nt:hierarchyNode, mix:referenceable, mix:lockable,
mix:accessControlled
- okm:author (string) mandatory
- okm:name (string)
- okm:language (string)
- okm:keywords (string)
- okm:notification (string) multiple
+ okm:content (okm:resource) primary mandatory
+ okm:properties (nt:unstructured) 


In the okm:properties there are several document properties. Each
document can have different properties. Can I make a complex search
where mix okm:document properties, okm:resource properties and
okm:properties? Something like:

//element(*, okm:document)[jcr:like(@okm:name, '%txt') and
(@okm:resource/okm:size > 1)]

-- 
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)


Mime
View raw message