In latest releases of Hibernate Search 4 and Lucene 3.6 there was some changes in SpellChecker API’s.
Here is example of the new API that allows to use spell checking with suggested words:
sf.getCurrentSession() gets standard Hibernate session. If you use EntityManager, there exists a method to obtain FullTextSession.
The example creates new index directory dedicated to spell checking. It adds terms from MyEntity’s description field to the index. spellChecker.indexDictionary adds the terms to the index, and optionally merges it with existing index.