-->
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.  [ 1 post ] 
Author Message
 Post subject: Updates of entities are not indexed
PostPosted: Mon Feb 11, 2013 7:53 am 
Newbie

Joined: Mon Feb 11, 2013 7:44 am
Posts: 9
Hi,
I recently updated from ancient 3.6 to 4.1.9.Final and entity updates are not indexed from now on. Newly created entity gets indexed as well as entity purge. I'm using Hibernate in JSE, database is PostgreSQL via JDBC, no framework around, nothing fancy. Also, no error is logged anywhere, on Level.ALL. I can see messages from Search when persisting new instance of entity, after purge but not when I getReference() it, change values of fields and commit the transaction. Even calling persist() on entity explicitly does not change anything.

Edit: I found a workaround, hibernate.search.enable_dirty_check=false seems to fix the issue. Is there any documentation anywhere on what is exactly being done when this property is true (or default)? I do have a few getters with @Field annotation that are actually returning other data than what "corresponding" members have - and those methods are not even called!


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

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.