03-19-2008 03:31 PM
<property name="ident:identDate">
<type>d:date</type>
<mandatory>true</mandatory>
</property>
String sortField = "@ident\\:identDate"
boolean sortAsc = true;
searchParams.addSort(sortField, sortAsc);
04-11-2008 08:46 AM
<property name="ident:identDateSort">
<type>d:int</type>
<mandatory>true</mandatory>
<index enabled="true">
<tokenised>false</tokenised>
</index>
</property>
04-11-2008 10:42 AM
04-16-2008 04:55 AM
I figured out what I was doing wrong. I was passing the wrong field namespace. Once I passed in the right namespace and stopped escaping some characters sorting started working.
04-16-2008 09:11 AM
searchParams.addSort("@{http://www.example.com/name/space}sort", true);
04-16-2008 09:22 AM
07-15-2008 06:14 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.