Theres no “search” in Planner, but you can set and name your own labels on tasks and they stick per plan! Then you can filter on these labels!
Ex: create a label called “fruit” and set this label on some tasks! Then filter all tasks that have this label and get them all! You might set multiple labels and filter for all those as well