add lucene support