added Lucene 4.x compliant classes