Search Engine Help Dreamweaver/Frontpage/HTML

Does anyone know all the steps necessary to build a site search engine into my site so that it will be able to search the entire site?


I always wanted to know what an Search does exactly… Ya know, such that you put on your site???