This is an internal refactoring improving the integration with Hibernate ORM lifecycle, by registering the Hibernate Search component in the ServiceRegistry rather than having to look it up among the event listeners.