Derek Hulley 72bb79696d Merged 1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4252 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4294 .
   svn revert root\common\common.xml
   svn resolved root\projects\repository\config\alfresco\script-services-context.xml


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4634 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-18 13:45:11 +00:00

24 lines
698 B
Java

package org.alfresco.service.cmr.search;
/**
* Enum to describe how the maximum size of the returned result set should be determined.
*
* @author Andy Hind
*/
public enum LimitBy
{
/**
* The final number of search results is not important.
*/
UNLIMITED,
/**
* Limit the total number of search results returned after pruning by permissions.
*/
FINAL_SIZE,
/**
* Limit the number of results that will be passed through for permission checks.<br/>
* Used internally to prevent excessive permission checking
* (see property <b>lucene.query.maxInitialSearchResults</b>).
*/
NUMBER_OF_PERMISSION_EVALUATIONS;
}