| Hmm, the only source on google I could find was to get the SearchIntegrator via the HibernateSession. The documentation of org.hibernate.search.hcore.util.impl.ContextHelper#getSearchIntegratorBySF is non-existent so its not clear whether this will work and not leave any residue. At any rate the fact that getSearchIntegrator() is called 2x is somewhat strange and inbalanced with the afterMessage() call. I will give the approach with org.hibernate.search.hcore.util.impl.ContextHelper#getSearchIntegratorBySF a shot. Thanks for the hint! |