cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco CMIS Query returning only 100 results?

dynamolalit
Champ on-the-rise
Champ on-the-rise
I am using alfresco 4.2 EE & trying to get search results using CMIS query


select * from cmis:document where cmis:name not like '%.ftl%' and
cmis:contentStreamLength>0


I am able to search the content but it is returning only 100 results not more that that. I tired to configure for more results as below but of no use.


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


Can anyone help here to get more results?
6 REPLIES 6

Thanks,

Is there any way to set 
<maxItems>
into alfresco repository properties file or in any xml?

Hi,
I think this is the right post you need to carefully read https://forums.alfresco.com/forum/developer-discussions/technical-architecture-discussion/limitation...
You have to try modifications on the file
tomcat\webapps\alfresco\WEB-INF\classes\alfresco\repository.properties


Regards,
Andrea

I have already updated these parameters as in my previous post.


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

Ok,
but as also stated here http://fcorti.com/2013/05/01/alfresco-1000-results-lucene/ this should be right thing to do.

Regards,
Andrea

I am already using Solr but not lucene. Anyways i have tried but without any success. It seems more to kind of bug/enhancement in alfresco. I have raised this @ <a> https://issues.alfresco.com/jira/browse/ALF-20766?page=com.atlassian.jira.plugin.system.issuetabpane...</a>