Integrate the basic search function with frontend.