search function and solr client added