Make a powerful search engine with ASP (i.)

Source: Internet
Author: User
Tags functions query
Search engines do not know you do not notice when surfing the Internet: Some content-rich sites, the total built a content search engine; some large commercial web sites or integrated sites, are equipped with powerful web search engines, such as Sohu, Sina, Yahoo and so on. Its convenient search query function so far left people with indelible impression, you just type in the keywords you want to browse the data (such as: Web page), a "search" button, the "page" of the list of information presented in front of you; This is just the basic function of the search engine-search queries. The author is now responsible for the construction of the Shandong (http://www.china-sd.net)-China search section, using the most commonly used development language--asp to develop the powerful function of the search engine! Below I on the main components of the search engine and some of the functions of the implementation code to explain to you, what are the deficiencies please give points!





in this chapter, I introduce the components and main functions of the search engine.





search engine composition, roughly divided into three parts:





1, interface: This part is mainly customer-oriented, is the part that can be seen, such as you open search.sina.com.cn afterwards see the page.





2, Program: This part is mainly to execute code, according to the customer's search requirements to execute code to obtain search results; These are the things we can't see.





3, Database: All search engines can not be separated from the database, even the famous google.com is no exception; The database is the warehouse that stores the search data, the more storage, the more data will be searched, which is also one of the shining points of the search engine is strong.





so the search engine is strong there are other shining points, what is it? Yes, the search engine database in the storage of more data, we can not easily find a search, or even find the necessary information, then the database is "dead", useless, so the program code plays a very important role.





here, I should introduce some of the main features of search engine:





1, search query: There is no doubt that this is the most basic function, according to the keyword to find the relevant information to match the keyword.





2, pagination display: If you're searching for a lot of information, put it all on one page, and that feels like a mess. Pagination shows that according to People's habit of reading, part of the content on the first page, the other content on the second page, the third page and so on.





3, search statistics: generally include the number of inquiries, several pages, each page contains several materials, the current page data range and so on.





4, search results choreography: Search Rankings I think we will not be unfamiliar, these are integrated web search engine to earn money, which is also a powerful search engine of the indispensable function, such as according to the number of clicks, according to the rank of the charge, according to ranking.





5, a number of keyword query: "If you want to find information containing multiple keywords, you can use the space to separate the keywords" This is the Sina search engine layout in a paragraph of text, in a text box to hit multiple keyword search information.





6, the overall statistics: This is the search engine opened to date some data statistics, including the "Hot query keyword" Statistics, the database in the overall statistics, the data contained in each category and so on.











Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.