fixed search module to accept lucene, momery, and solr;