-->
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: @ContainedIn and mass/initial indexing
PostPosted: Thu May 12, 2011 5:47 am 
Newbie

Joined: Tue May 03, 2011 2:23 pm
Posts: 3
Hi,

Maybe it has been asked before but then here again, why is the contained in also taken in account when doing a full index. IMHO it is not really necessary to handle the @ContainedIn when doing a full indexation and thus it would be nice to have a configuration parameter to disable the handling of @ContainedIn. Does this sound silly or maybe this feature is all ready there?

Br,

Sarris


Top
 Profile  
 
 Post subject: Re: @ContainedIn and mass/initial indexing
PostPosted: Thu May 12, 2011 9:46 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Sarris,
@ContainedIn is ignored by the MassIndexer as it reindexes only top-level entities, and in case one of these is also @ContainedIn another indexed entity, it's not changed so no additional work is triggered: all operations are performed in batched read-only sessions.
If you are experiencing something different, please send me more details as it should not.

Thank you for the suggestion anyway, keep the ideas coming :)

_________________
Sanne
http://in.relation.to/


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.