Do you really want to increase Alfresco’s search limit beyond 1000?

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.

Commonly Asked Questions:

Restriction of solr results?

How to get more than 1000 Documents By Using CMIS Query

SOLR doesnt return more than 1000 objects

CMIS query not returning expected amount of results

Advertisements

Leave a Reply