cancel
Showing results for 
Search instead for 
Did you mean: 

Size limit on the Query results ?

christophe
Champ in-the-making
Champ in-the-making
Hello,

I am using Open CMIS (0.5.0) to query an Alfresco repository (3.4d community).
My query shall return about 500 documents, however, only 100 are returned.

The query takes around 2000ms to complete

It seems to be an alfresco limitation that can be change with those properties :
    system.acl.maxPermissionChecks
    system.acl.maxPermissionCheckTimeMillis
I've created
custom-repository.properties
in
$ALFRESCO_HOME/tomcat/shared/classes/alfresco/extension/

with the following values :


# The maximum time spent pruning results
system.acl.maxPermissionCheckTimeMillis=200000
# The maximum number of results to perform permission checks against
system.acl.maxPermissionChecks=100000

After an Alfresco restart, I still got 100 results.

I've also changed the values in
$ALFRESCO_HOME/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
same result.

Did I edited the wrong files/properties ?
Is there something to do in Alfresco to make it take into account those values ?

Thanks

Christophe
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Yes you have changed the wrong files.

The "rule of thumb" is "Never touch anything below WEB-INF."

Any configuration changes should go in alfresco-global.properties.

However your changes should have worked, so It seems that your problem is elsewhere.