Lucene compatibility


- https://issues.jboss.org/browse/ISPN-4767