fixed the lucene search