Implement a basic search functionality.