jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shoener" <mshoe...@softwareapps.net>
Subject Query mixin and nt:resource nodes
Date Fri, 25 Sep 2009 14:16:29 GMT
I have the following query:

	//element(*, hfs:fileInfo)[jcr:contains(., 'example')]

It returns all matching nodes because it searches on all properties AND the
file content itself.

I really only want to query on the file contents alone (the data contained
in the file) so I tried the following but it does not return any values:

	//element(*, hfs:fileInfo)[jcr:contains(jcr:data, 'example')]

Am I missing something in my query?

Best Regards,

Michael Shoener
Support Staff
Software Application Services, Inc.

View raw message