fix search engine to use in memory lucene