08-17-2017 05:18 AM
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
08-18-2017 05:29 AM
Looks like the limit is 1000. Adding "maxItems: 2000" to the query does not help...
08-31-2017 10:05 AM
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...
Explore our Alfresco products with the links below. Use labels to filter content by product module.