jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Custom node or mixin added to existing node
Date Sat, 10 Oct 2009 12:45:07 GMT
On Fri, Oct 9, 2009 at 23:19, Michael Shoener <mshoener@softwareapps.net> wrote:
> So if I create a custom mixin and apply it to the "nt:file" node, and then
> do the following query:
>
>         //element(*,hfs:fileInfo)[jcr:contains(jcr:content, 'testing') or
> jcr:contains(@hfs:description, 'testing')]
>
> It will return all of the nodes where the binary content matches my search
> term or the "hfs:description" property value matches the search term.
>
> Is this correct?

Yes. I'd recommend to actually play and test with it, so you might get
a sense for the best solution for you.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message