jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: searchin across a node hierarchy
Date Sun, 04 Feb 2007 10:07:02 GMT
El vie, 02-02-2007 a las 13:17 +0100, Paco Avila escribió:
> [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)]

Any tip?

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


Mime
View raw message