Hi,
I have in a script following code:
nodes = search.query({
language: 'fts-alfresco',
query: 'PARENT:"workspace://SpacesStore/8802c714-55e1-4b03-aa93-aa01d1a71a23"'
});
for (i = 0; i < nodes.length; i++) {
if (String(nodeName) == String(nodes[i].name)) {.....
}
}
It seems like the query does not return me all children of the folder that was returned. Not sure how I should get all children objects.
Any help appreciated.
Thanks,
Patrick
Looks like the limit is 1000. Adding "maxItems: 2000" to the query does not help...
Hello.
Yes, that is right... 1000 is the default number for max results when using search.
That can be changed, but you should not be doing so, as increasing that number too much can cause troubles related with resources usage.
Instead of trying to increase that, you can try to use one of the approaches presented from the page 28 from this document https://www.alfresco.com/cmis/browser?id=workspace%3A//SpacesStore/a9c2fb15-6f86-4122-8be0-34c4955d8...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.