jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From isidoro <valentina.mari...@gmail.com>
Subject Indexing a property in a sub node
Date Fri, 11 Apr 2014 16:03:59 GMT
I'm trying to index a property in a subnode:
myjcr:myType/jcr:content/myjrc:size.
How can I index the property myjrc:size of the node jcr:content in a node of
type myjcr:myType? 
I've tried doing this in my indexing_configuration.xml:

 <aggregate primaryType="myjcr:myType">
        <include>jcr:content</include>
        <include-property>jcr:content/myjrc:size.</include-property>
    </aggregate>

And then I've created a xpath to search files by size:

jcr:content/@myjrc:size > xs:long('0')

but it does not work. 

What's wrong? Can anyone help me?

Thanks in advance.

Isidoro





--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Indexing-a-property-in-a-sub-node-tp4660697.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message