My old AI professor used to say that every problem is a search problem.
The issue is that to find solutions for useful problems you're often searching through highly complex and often infinite solution spaces.
The issue is that to find solutions for useful problems you're often searching through highly complex and often infinite solution spaces.
("Scare quotes")
Even within fairly modest finite limits, you can produce a solution space that cannot be significantly searched with the available finite matter and time available in the observable universe.
Thus, the problem with using search isn't that solution spaces can be infinite, but that finite solution spaces can be unimaginably large.