Search engine

I want to build my own search engine for the internet, but im not sure where to start? Should i have spiders or bots that search world wide web content? do i need a word list that the site will go off of during the search?