Re: [hibernate-dev] Clever dirty checking for Hibernate Search

2011-01-17 Thread Sanne Grinovero
2011/1/17 Emmanuel Bernard : > We can experiment with such approach but I am not sure that will work > properly. Here are a couple of issues: Yes I just tossed the idea on the table, not sure either how far it can get, but if it worked it would be a pretty nice API. >  - what about entities expo

Re: [hibernate-dev] Clever dirty checking for Hibernate Search

2011-01-17 Thread Emmanuel Bernard
We can experiment with such approach but I am not sure that will work properly. Here are a couple of issues: - what about entities exposing data via fields - what if I poll data from an outside source and need that to be refreshed even if I do not change nor read the entity (there is one such e

[hibernate-dev] Clever dirty checking for Hibernate Search

2011-01-15 Thread Sanne Grinovero
Context: As a follow-up on "HSEARCH-361 Only index an entity if an indexed property has changed": during development of this improvement we agreed to disable the dirty-checking optimization in case a BoostStrategy or ClassBridge was defined on the class; we also considered the (unlikely) possibilit