Merged 5.2.N (5.2.1) to HEAD (5.2)

130294 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130038 gjames: SEARCH-158: Limit results by a final size of 100


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2016-09-06 22:09:59 +00:00
parent b67a546851
commit be1ae9146e
2 changed files with 6 additions and 0 deletions

View File

@@ -106,6 +106,8 @@ public class SearchMapper
{
//Hardcode workspace store
sp.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
sp.setLimitBy(LimitBy.FINAL_SIZE);
sp.setMaxItems(100);
}
/**