Removing dependencies from Lucene/Hibernate Search