Is it possible to connect to the Lucene re-indexer in order to execute some code right after the Lucene finishes re-indexing?
Also, would it be possible to get a list of the assets and their types, which were involved in the re-indexing?
1. Publishing finished to Production,
2. Lucene started to re-index configured asset attributes.
3. Lucene finished.
4. We run some code, which retrieves the list of the reindexed assets and does something with these assets.
That too would be a good reason for a concern. Currently we have code, which notifies some external system of the changes done to the published into the environment assets. The values of the changed assets we read from the Lucene index instead of the actual assets, for the performance reasons. But we need to be sure that Lucene has finished reindexing the newly published assets before we can send notification. Right now we have a fixed delay after publishing and before the notification is sent, but it is not 100% reliable.