SearchView function complete.