[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-361) Only index an entity if an indexed property has changed
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Oct 29 15:28:12 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34353#action_34353 ]
Emmanuel Bernard commented on HSEARCH-361:
------------------------------------------
My slight problem with that approach is that is puts a heavy burden for simple implementations as they have to implement the isDirty from scratch.
I guess we could offer a default simple implementation of it for StringBridges and use the isDirty bare meta approach to others.
BTW this should nto be limited to ClassBridge ,right? I don't see why.
I am not fully following the "breaking APIs is better" argument though.
> Only index an entity if an indexed property has changed
> -------------------------------------------------------
>
> Key: HSEARCH-361
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-361
> Project: Hibernate Search
> Issue Type: New Feature
> Reporter: Emmanuel Bernard
> Fix For: 3.2.0
>
>
> PostUpdateEvent has state and oldState
> and EntityPersister has getPropertyNames() and findDirty()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list