Hibernate Team |
|
Joined: Fri Oct 05, 2007 4:47 pm Posts: 2536 Location: Third rock from the Sun
|
Hi, look into the reference documentation of Hibernate Search: there's an example for efficient indexing: Example 6.2
* you're missing the flushToIndexes statement * how are transactions handled?
Using hibernate 3.2.6 suggest you're using an old version of Hibernate Search, when flushToIndexes was not available. I'd advise to upgrade to Search 3.1.1; otherwise you'll have to split the task in several transactions: index changes are enqueued until transaction commit and are filling up memory.
_________________ Sanne http://in.relation.to/
|
|