Hi All,
I am using alfresco-5.0.d and solr4.I have implemented pagination in my application with this code.
PagingRequest paging=new PagingRequest(skipResult,maxResult);
List<Pair<QName, Boolean>> sortProps = new ArrayList<Pair<QName,
Boolean>>(); sortProps.add(new Pair<QName,
Boolean>(ContentModel.PROP_NAME, true));
PagingResults<FileInfo> folderContentList =
filefolderService.list(nodeRef,true,true,null,sortProps,paging);
I am getting the result based on creation date
It seems alfresco is giving result based on creation date after that it's apply sorting.
please tell me how can i get the result based on prop_name