[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-361) Only index an entity if an indexed property has changed

Sanne Grinovero (JIRA) noreply at atlassian.com
Tue Dec 28 13:53:05 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39440#action_39440 ] 

Sanne Grinovero commented on HSEARCH-361:
-----------------------------------------

I'm currently working on this, I'll propose a patch soon but going to cover only the most simple case;
If any ClassBridge or BoostStrategy is applied, indexing won't be skipped; also collection events won't be optimized yet, taking care only of onPostUpdate events.

Assuming Emmanuel will like the approach, please help with patches to solve the cases I'm not covering if you need more.

> 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
>            Assignee: Sanne Grinovero
>             Fix For: 3.4.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