Do you know PHP and/or a language you can dev with on a server (Perl, C++)? It's pretty simple to get a crawler happening if you're apt with programming. Once you've got an "indexer" happening, the weighting and all that jazz is the fun part
The search engine isn't really the hard part to program, more the crawler if you ask me. Depends on what you're crawling and how you're displaying it too.