02-16-2007 07:04 AM
<table cellpadding="3">
<tr>
<th align="left">Name</th>
<th align="left">Title</th>
<th align="left">Size</th>
<th align="left">Display Path</th>
</tr>
<#list companyhome.childrenByXPath[".//*[contains('xyz')]"] as child>
<#if child.isDocument>
<tr>
<td>${child.properties.name}</td>
<td>${child.properties.title}</td>
<td>${child.size} bytes</td>
<td>${child.displayPath}</td>
</tr>
</#if>
</#list>
</table>
02-16-2007 09:08 AM
companyhome.childrenByLuceneSearch["TEXT:alfresco"]
will find all documents with the text 'alfresco' in them. Since you want to search on the title attribute, you want something like this:
companyhome.childrenByLuceneSearch["@cm\\:title:xyz"]
02-16-2007 01:18 PM
companyhome.childrenByLuceneSearch["@cm\\:title:*test_report*"]
02-16-2007 01:34 PM
companyhome.childrenByLuceneSearch["@cm\\:title:\"test_report\""]
Note that you cannot currently use wildcards in combination with phrase searches - that will be added in a later version.02-17-2007 09:13 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.