Setting Up A PHP Search Engine

Anyone have experience setting up a search engine for a small site, using PHP?

Any suggestions for someone with average coding skills, but limeted PHP experience?

How about implementing something like PHP DIG?

Or using Hit Dig?

Or should I just purchase a store-bought PHP search engine package?