[hibernate-dev] Clever dirty checking for Hibernate Search