As reported on https://forum.hibernate.org/viewtopic.php?f=9&t=1039407 the documentation shows an example to
protected SearchFactory getSearchFactory() { FullTextEntityManager fullTextEntityManager = Search.getFullTextEntityManager(em); return fullTextEntityManager.getSearchFactory(); }
This is no longer valid.