create view for searchresults