Run AEM Query-builder query in batch
I have the below working query
path=/content/dam type=sling:OrderedFolder nodename=[0-9][0-9][0-9][0-9]-([0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9]) property=jcr:content/metadataprofile property.operation=exists property.value=false p.limit=-1
It runs on entire Path=/content/dam, so it traverse all nodes for about 20 minutes and gives results.
How can i make it in batches when using query-builder API code-wise, like - traverse 1000 nodes and do-something code-wise and then continue with query and traversing next 1000 nodes and so-on ? Is it possible ?
Thanks in advance.