Set up the search query to return accurate results.