Search bar working using solr gem.