OAK-4641 added "sync" as a new async value to allow same editor to participate in async and sync indexing. Similar to that I would like to add "nrt" as another mode for async
So following async value would be supported
- sync - The index editor would be invoked as part of sync indexing
- nrt - Stands for near real time. The index editor would again be invoked as part of sync commit
- async or any other value - The index editor would be invoked as part of matching async indexer run
In Lucene case LuceneIndexEditor would use "nrt" for those indexes which are locally managed but asynchronously updated while "sync" would be used for those Lucene indexes which are synchronously updated upon commit.