Replace mapdb with lucene