Build custom search functionality