Create searchHandler