Hibernate Search will automatically skip indexing if the entities are not considered "dirty" on the indexed properties (so if you updated some properties of your entity, but didn't touch the ones which require an index update it will skip the index update). When this doesn't work well - like when needing exotic workarounds like this - you can disable this optimisation using the hibernate.search.enable_dirty_check = false configuration property. It is a global option though, so use it as last resort only. |