A list apart has an article on it. (clicky), it's not easy though. I'd go for the much much easier idea:
<!--note, this is guessed without reference, probaly contains one or more mistake -->
<form method="post" action="http://google.com/search">
<input id="q" type="text" />
Last edited by the tree; 01-17-2005 at 12:56 PM.
Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
(2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.
A site search is a simple matter of either designing your own database sensibly in the first place and/or just asking google to do it for you. If you mean actually starting your own search service though, you're talking about a pretty serious undertaking there. To provide the level of service that people would expect you would need a legion of machines and servers and a pipe so wide it looks like it's been fed on a life long diet of extra fat lard. You're talking very serious money.
Well not really if it is a small search engine, google started out of a garrage on a t1 (IIRC). But if your engine is any good and gets any kind of traffic you will need plenty of boxes (maybe blade servers or something) to do the searching and you will need a huge line, like Herer said. Google's data center is amazing, they have aisles of rack servers.