added lucene but search has some bugs