Description
Oak Upgrade module has a ProgressNotificationEditor to notify the progress as the editor traverses the repository. It would be useful to have this in oak-core and use this to wrap the editors performing reindexing.
Currently in upgrade this editor emits logs like
01:29:15.404 INFO [main] ProgressNotificationEditor.java:51 Checking node types: /content/kb/home/cq5/Development/SlingBootdelegation/jcr:content/par/text 01:29:15.640 INFO [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/en/feeds/cq-forums/2013/05/validationifo_object 01:29:15.845 INFO [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/lists/2011/01/_jira_created_jcr1 01:29:15.943 INFO [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/lists/2010/08/davidgsoc2010_sugge/jcr:content/par/entry 01:29:16.032 INFO [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/lists/2010/06/gsoc_report 01:29:16.165 INFO [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/blog/2008/04/opensocialjcr
This provides some clue about progress however no such notification is done when editors are busy in reindexing.
Further I would also like to emit the count