-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Why index update is extremly slow?
PostPosted: Sun Oct 31, 2010 9:22 am 
Beginner
Beginner

Joined: Thu Jun 24, 2010 2:30 am
Posts: 23
I use Hibernate Search 3.2.0 with Hibernate 3.5.1 and Spring 3.0.3. Today, I've checked performance of my application and saw that in some operations updating of Lucene index spend minute, while Hibernate queries and transaction management with Spring take less when second. What can be the reson of such slow work of Lucene?


Top
 Profile  
 
 Post subject: Re: Why index update is extremly slow?
PostPosted: Mon Nov 01, 2010 4:23 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

unfortunately you are not giving a lot of information so I will try to give you some general hints.
Have you turned on debug log? Is there anything there? Any exceptions?
Are you using @IndexedEmbedded? If so are you sure that you don't have a cyclic object graph? Do you try to index large collections? If so, have you optimized the Hibernate mapping? This includes lazy loading options as well as a properly configured second level cache.

Also have a look at the different performance options you can use for indexing. You can set Lucene related indexing parameters like max_buffered_docs via the Hibernate configuration file. And of course there is index optimization? If you don't specify any of the automatic index optimization parameters, automatic optimization won't occur and you have to optimize manually.

I hope you got some pointers.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.