Add a configuration option to run the MassIndexer during the initialization phase

Description

It would be useful to have an option to have the SessionFactory initialization return only after a full reindexing is completed.

This will likely be an ORM feature, and we require the SessionFactory construction to fully initialized before we can actually trigger this operation; the SearchFactory today is starting too early.

Environment

None

Assignee

Yoann Rodière

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Priority

Major
Configure