By default Alfresco Content Services sets a default search limit, based on ACL checks to 1000 items.
In order to search for more than 1000 items, you will need to do one of two things:
- Update the system.acl.maxPermissionChecks property in alfresco-global.properties (system wide update)
- Override this permission check value using the Java Search API (only affects current query)
However, before you make these changes, you should consider the use case behind your search requirement as a global change will allow users to run some very long accidental wildcard queries.
If search is to perform operations against content, such as update, etc., then use reducing result set search, with Alfresco Transactional Metadata Query, and search clauses that remove items that are already updated, or worked on.
Example of a CMIS search to update a list of objects that are greater than 1000. The Query will work within the default max page size of 1000, and updates will execute until the query finally returns less than 1000 or 0.