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:
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">

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.


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.

View raw message