cancel
Showing results for 
Search instead for 
Did you mean: 

Max Result Limit 100...

7joeblack8
Champ in-the-making
Champ in-the-making
Hi,


yet another mistery…


I change the MaxResults in the SearchPlugIn and in the searchtemplates to "200" , but workdesk gives me only 100.

I checked the web-client-config.xml of my Alfresco and it says:

<javascript><!– Limit search results. -1 for unlimited. –>
         <search-max-results>500</search-max-results></javascript>

any hint?
7 REPLIES 7

deko
Star Contributor
Star Contributor
Are you using Workdesk Community 4.1.0.0? There was a problem with the max results parameter in the CMIS adapter which have been solved with the recntly released version 4.1.1.0_Sprint_2 of Workdesk Community:

http://sourceforge.net/projects/alfresco/files/Alfresco%20Workdesk%20Community%204.1.1/

Several other issues have been fixed with this version and the new OpenCMIS adapter has been improved a lot. You should be able to update to this version easily by backing up your previous deployment, deploying the latest version and reintroducing your old configuration files/folders.

7joeblack8
Champ in-the-making
Champ in-the-making
thanks! i'll give it a try! Smiley Wink

7joeblack8
Champ in-the-making
Champ in-the-making
I upgraded to Sprint2….but no luck with maxresult…

d_evil
Champ in-the-making
Champ in-the-making
Hi,

7joeblack8 is right, the max result size is not provided to query-call
and it looks like the OpenCMIS default value is 100.

So it's a bug in Workdesk.

deko
Star Contributor
Star Contributor
Hi 7joeblack8,

An internal ticket was created and I already got feedback from Enginnering that this issue will be solved with the upcoming 4.1.1.0 final version.

Regards,
Dennis

7joeblack8
Champ in-the-making
Champ in-the-making
if i can help:

the maxsize given from client reaches the adpopen lib in the doSearch method well, then at the CSQLProcessor is lost (getMaxResult null)…

So i decide to touch the follo class com.wewebu.ow.server.ecmimpl.opencmis.OwCMISRepositorySession.java:

<javascript> searchResult = searchResult.skipTo(skipCount.intValue()).getPage();</javascript>

And at the end "getPage" method has no value…is enough to write inside an int and it works like a charm.

deko
Star Contributor
Star Contributor
I love open source 🙂