We're updating the issue view to help you get more done. 

Improve performance MassIndexer through Eager fetching

Description

The MassIndexer fetches all of a certain entity from the database. It then proceeds to index it and the tree of IndexedEmbedded objects is traversed. In doing so, a lot of additional queries get executed. These queries are not really necessary, since we know beforehand that the data is needed for the indexing operation. So it would make sense to eagerly fetch all associations that are marked as indexEmbedded. This way MassIndexer would significantly speed up.

Environment

None

Status

Assignee

Unassigned

Reporter

Marc Schipperheyn

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

3.2.0.CR1

Priority

Minor