Add search functionality to use the new backend search().