remove dependency on lucene