Is there any way to query my custom mixin (hfs:file) and still be able to
pull back the default jcr:content information?
The default query (which searches the entire node contents and all
properties):
//element(*, nt:file)[jcr:contains(jcr:content, 'text to
query')]/rep:excerpt(.)
The query I am using (which searches only the @hfs:description and
@hfs:formname priperties):
//element(*, hfs:file)[jcr:contains(@hfs:description, 'text to
query') or jcr:contains(@hfs:formname, 'text to query')]/(@hfs:description |
@hfs:formname)
I also want to be able to search on jcr:content and return the same
information that the default search returns, plus my @hfs:description and
@hfs:fromname values, if possible.
Best Regards,
Michael Shoener
Support Staff
Software Application Services, Inc.