Be aware that surveyors come in all shapes and flavors.
You have to grill
them closely on what they will and will not check. You should also ask for a copy of a recent survey they have done so that you can get an idea of how thorough they are.
Many sailboat surveyors will not check rigging
or the diesel. Those, of course, are two of the more expensive items to replace on the boat. You will probably have to hire, separately, a rigger and a mechanic
to do those checks.
The worst of the surveyors will give you an "insurance survey" for $1,000 or less and basically flip switches to see what works. They might also walk around the deck
to see whether there are soft spots.
A good surveyor will check all of the systems and identify the neglected original equipment
"upgrades" that were done that could cost you a lot of money
to remedy and perhaps will endanger the boat ... and you.
The best boat to buy has been constantly upgraded and has a lot of recent equipment
. The worst is one in which most of the equipment is 20 years old and more.
Even if it passes the surveyor, you will be replacing it all in a year or two.
Remember that boat stuff is expensive these days. Refitting electronics
can run into five figures. So can replacing a mistreated diesel. Sails
can run into the many thousands.
Don't make the mistake of thinking you can revive a neglected boat with a little sweat equity.