Controller doSearch method