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.


Reply via email to