Fix bugs in search sidebar, add wildcard for solr