You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by isidoro <va...@gmail.com> on 2014/04/11 18:03:59 UTC
Indexing a property in a sub node
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.