Hi,
I have done the following code for the sorting of nodes. but this is not working.
RepoSearchInitializer searchInitializer = new RepoSearchInitializer();
String qry ="TYPE:\"{com.infoaxon.fkm.repository}resource\"";
SearchParameters searchParameters = searchInitializer.invokeSearchParameter(qry);
searchParameters.addSort("{com.infoaxon.fkm.repository}resourceTitle",true);
ResultSet results = serviceRegistry.getSearchService().query(searchParameters);
Can anyone tell me what is the problem with this code and please tell me the right code.
Thanks,
Nitin