Hello,
Is it reasonnable for you guys to execute a javascript program on about 25 000 docs ?
The program is relatively simple as it classifies the docs into folders on two levels.
Thanks
Well - having a script do bulk changes is not unreasonable and easily doable within JavaScript. The question if this should be done to 25.000 nodes is more a question of side effects this would have. It would create a single transaction where all those 25.000 nodes have been marked as updated. Whenever SOLR is then tracking changes for index update, this will be a significantly "larger than typical" transaction, which cannot be split up within the SOLR processing. Depending on the resources available to SOLR, this can cause the index process to take noticably longer, and thus potentially introduces lag in your indexing process. Also - depending on the SOLR / Alfresco version used, handling path changes in indexing can be quite expensive (due to potential update cascades).
Typically, the recommendation for bulk operations is to keep the number of nodes affected in one transaction to a two-digit or very low three-digit number.
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.