The way I see it, the problem is more that you have to instantiate a session in order to get the integrator. What if we exposed publicly something akin to org.hibernate.search.hcore.util.impl.ContextHelper#getSearchIntegratorBySF? Would it remove the need for you to use afterMessage? |