Which languages do I need to learn if I want to build a search engine? C ++, PHP, and JAVA? -Php Tutorial
Source: Internet
Author: User
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply: I want to launch a war. Do I want to train a gun or play a sword? Learning Java, then learning Lucene, http://lucene.apache.org/core/ .
If you are weak, Lucene is also a search engine. Oh, this friend has a great idea.
However, it is a pity that the key to a search engine is not in any language, but its algorithm core.
Of course, algorithms also need to be represented by languages. in response to the performance requirements of search algorithms, C ++ should be a better choice than PHP and Java to use c ++, java, and so on to write a search engine. The key is what kind of search engine you want to make, document search is just a kind of Internet-based search engine, and how much data you have. do you want to create inverted indexes? (if you have less than 0.1 million of the indexes, do not create inverted indexes ), how to write your crawler, how long it will take to update the index, and whether you want to support pure English or both Chinese and English. if you want to support Chinese, you have to consider how you can split the captured content, and so on. Therefore, the language is really not a big problem. The key is whether you want to do it or not, the size and comprehensiveness of search engines are usually larger than what you call C ++, PHP, and JAVA. This is actually not a question to be discussed. We recommend that you read udacity. one of his CS101 courses is to use seven weeks to compile a search engine from a completely unprogrammed person, using the Python language. There are videos (you need to flip the wall), homework and exams.
Http://www.udacity.com/overview/Course/cs101/CourseRev/apr2012 It is difficult to implement a complete search engine in only one language, because the search engine is a combination of multiple knowledge fields, and each language may be useful, so C ++, Java, Python, and PHP are all learning. Can look at the open source search engine, Nutch, httpclient, lucene and other things http://udacity.com/
Let's take a look at this. CS101 is a simple search engine. The language is python. The video is in progress, you know.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service