As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<property name="ident:identDate"> <type>d:date</type> <mandatory>true</mandatory> </property>
String sortField = "@ident\\:identDate" boolean sortAsc = true; searchParams.addSort(sortField, sortAsc);
<property name="ident:identDateSort"> <type>d:int</type> <mandatory>true</mandatory> <index enabled="true"> <tokenised>false</tokenised> </index> </property>
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.
searchParams.addSort("@{http://www.example.com/name/space}sort", true);