cancel
Showing results for 
Search instead for 
Did you mean: 

max # of entries in treeview

hello_wrold
Champ in-the-making
Champ in-the-making
So our users got their brand new Alfresco 5.0d and enthusiastically as they were created folders to no end and now I got a problem on my desk.

The site they are using has >1000 folders and the treeview (it is called treeview, is it?) on the doclib's left site and the file/folder-selectbox for moving files refuses to display more than 1000 entries ("List has been limited to 1000 entries").

I know that it's a bad idea to have such a broad folder hierarchy but getting rid of it again while take a while and I need a short-term solution to cope with it, i.e. how can I increase the maximum number of entries for the treeview in share?

I already raised <maximum-folder-count> in share-config-custom but to no avail. What option is there to increase max #entries before I talk my users into rethinking their folder structure?

3 REPLIES 3

douglascrp
World-Class Innovator
World-Class Innovator
I think the problem is related with the default number of results solr is able to return, which is 1000.
So, even if you increase the number in the share site, the repository will still be limited.

Check this out http://fcorti.com/2014/07/23/solr-return-less-than-1000-objects-alfresco/

hello_wrold
Champ in-the-making
Champ in-the-making
Thanks for that. So I changed the alfresco-global.properties to include

solr.query.maximumResultsFromUnlimitedQuery=10000
system.acl.maxPermissionChecks=10000


but I still get that limit. I forgot to mention, that my share-config-custom also contains a

<maximum-folder-count>1500</maximum-folder-count>



The weird thing is, I also got another repository with identical config that has ~2000 folders in the site's root folder that gets displayed just fine without any tinkering. The only difference is, that it's got less subfolders and files. Could this be a caching issue somewhere inside solr (or elsewhere)?

<em>evaluate-child-folders</em> is set to false, BTW.

Merci.

hello_wrold
Champ in-the-making
Champ in-the-making
New status: works!

I had to set <em>replace=true </em> for the doclib-section in my share-config-custom.
It is still beyond me, why I didn't had to do this in my other, identical, setup. There are no other customizations in share that could have interfered.

Weird (but of my desk for now).

Cheers to you all.