Basically, you need to know one of the Linux based language which can crawl another website, and store the information in the database. For example, google. Google uses python programming to crawl various types of website and stores the useful information in its database and when we hit up google.com it simply searches from the database and shows the result. So, if you want to make a search engine like google then you don’t only need to learn web programming languages like VS, JSP, PHP, but also you need to learn any operating system based languages like Java, Python etc.
I recommend you to learn python as there will be enough tutorials on python on this blog, in the future. To download python simply goes to http://www.python.org/ and click downloads, there are different cross OS executable files which will automatically install the python in your system. Check out the python category of this blog to find more about Python, creating a search engine that crawls others websites.