Currently the dependency from core to "hibernate-hql-lucene" is not opional.
This causes HSEARCH to be pulled in (not needed with the Neo4j/MongoDB backends) and, worse, Lucene to be pulled in with a version not compatible with the Neo4j backend.