[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-521) Improve performance MassIndexer through Eager fetching

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Dec 23 09:40:26 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated HSEARCH-521:
-------------------------------------

    Fix Version/s:     (was: 4.1)

> Improve performance MassIndexer through Eager fetching
> ------------------------------------------------------
>
>                 Key: HSEARCH-521
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-521
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: massindexer
>    Affects Versions: 3.2.0.CR1
>            Reporter: Marc Schipperheyn
>            Assignee: Sanne Grinovero
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list