I just bought a new MacBook Pro running OS X 10.10.3 and then migrated from my old Mavericks MacBook Pro. Now when I search for a file using command+F, Finder hangs/beachballs/becomes unresponsive after just a few letters. Here's what I tried and what happened:
Removing com.apple.finder.plist or com.apple.dock.plist from
/Users/username/Library/Preferencesthen rebooting (as suggested various places such as here) didn't fix the problem.
Trashing the contents of
Library/Saved Application State/then rebooting did fix the problem—for exactly one search, subsequent searches had the same problem as before. I deduce that the saved state might be a part of the problem.
Restricting the search to PDF or Document before I type search terms also fixes the problem, from which I think that the size of the set of files to be searched might be a part of the problem.
What is causing this situation and how can I fix it?