Search engine


Published on

How search engine work...

Published in: Education, Technology, Design
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Search engine

  1. 1. SEARCH ENGINES<br />- Prepared By<br />Chinmay Patel <br />[09BCE038]<br />- Under guidance of<br />Dr. Sanjay Garg<br />
  2. 2. <ul><li> Flow of presentation
  3. 3. Different search engines
  4. 4. History
  5. 5. Working of search engines
  6. 6. Web crawlers
  7. 7. Advanced search techniques of google</li></li></ul><li><ul><li> Pie chart of different search engines </li></ul>eg. Search engine market share in the US<br />.<br />
  8. 8. <ul><li>A web search engine is designed to search for </li></ul> information on the World wide web and FTP servers.<br /><ul><li>The search results are generally presented in a list of</li></ul>results and are often called hits. <br /><ul><li>The information may consist of web pages, images,</li></ul>information and other types of files. <br /><ul><li> Some search engines also have mine data available in</li></ul> databases or open directories.<br /><ul><li> Unlike web directories, which are maintained by human </li></ul> editors, search engines operate algorithmically or are a<br />mixture of algorithmic and human input.<br />
  9. 9. <ul><li> Today there are many search engines.</li></ul>e.g. Google, Yahoo, Aol, Safari, msn etc.<br /><ul><li> Today Google at the top in search engine. The reason is</li></ul> its creativity only.<br />
  10. 10. History<br /><ul><li> The very first tool used for searching on the Internet was</li></ul> Archie. The name stands for "archive" without the "v". <br /><ul><li> It was created in 1990 by Alan Ematage , Bill Heelan and </li></ul> J. Peter Deutsch, computer science students at McGrill<br /> University in Montreal.<br /><ul><li> The program downloaded the directory listings of all the</li></ul> files located on public anonymous FTP (File Transfer <br /> protocol) sites, creating a searchable database of file<br /> names; however, Archie did not index the contents of <br /> these sites since the amount of data was so limited it <br /> could be readily searched manually.<br />
  11. 11. <ul><li> Around 2000, Google’s search engine rose to</li></ul> prominence. The company achieved better results for<br />many searches with an innovation called Page Rank. This<br /> iterative algorithm ranks web pages based on the <br /> number and Page Rank of other web sites and pages <br /> that link there, on the premise that good or desirable <br /> pages are linked to more than others. <br /><ul><li>By 2000, Yahoo! was providing search services based on</li></ul>Inktomi's search engine. Yahoo! acquired Inktomi in <br /> 2002, and Overture(which owned Alltheweb and<br />AltaVista) in 2003. Yahoo! switched to Google's search <br /> engine until 2004, when it launched its own search <br /> engine based on the combined technologies of its <br /> acquisitions.<br />
  12. 12. How web search engine works<br />High-level architecture of a standard Web crawler<br />
  13. 13. <ul><li> A search engine operates, in the following order</li></ul> 1. Web Crawling<br /> 2. Indexing<br /> 3. Searching <br /><ul><li> Web search engines work by storing information about many web pages, which they retrieve from the html itself.
  14. 14. These pages are retrieved by a Web Crawler — an automated Web browser which follows every link on the site. The contents of each page are then analyzed to determine how it should be indexed (for example, words are extracted from the titles, headings, or special fields called meta tags ). </li></li></ul><li><ul><li>Data about web pages are stored in an index database for use in later queries. A query can be a single word. The purpose of an index is to allow information to be found as quickly as possible.
  15. 15. When a user enters a query into a search engine the engine examines its index and provides a listing of best-matching web pages according to its criteria, usually with a short summary containing the document's title and sometimes parts of the text.
  16. 16. The index is built from the information stored with the data and the method by which the information is indexed. Unfortunately, there are currently no known public search engines that allow documents to be searched by date. </li></li></ul><li><ul><li> Most search engines support the use of the boolean operators AND, OR and NOT to further specify the search query.
  17. 17. The engine looks for the words or phrases exactly as entered.
  18. 18. Some search engines provide an advanced feature called proximity search which allows users to define the distance between keywords.
  19. 19. Natural language queries allow the user to type a question in the same form one would ask it to a human. A site like this would be</li></li></ul><li><ul><li>The usefulness of a search engine depends on the relevance of the result set it gives back.
  20. 20. While there may be millions of web pages that include a particular word or phrase, some pages may be more relevant, popular, or authoritative than others.
  21. 21. Most search engines employ methods to rank the results to provide the "best" results first.
  22. 22. How a search engine decides which pages are the best matches, and what order the results should be shown in, varies widely from one engine to another. The methods also change over time as Internet usage changes and new techniques evolve.</li></li></ul><li><ul><li>Most of Search engines provide these facilities free then how they make money.
  23. 23. Most Web search engines are commercial ventures supported by advertising revenue and , as a result , some employ the practice of allowing advertisers to pay money to have their listings ranked higher in search results.
  24. 24. Some search engines which do not accept money for their search engine results make money by running search related ads alongside the regular search engine results.
  25. 25. The search engines make money every time someone clicks on one of these ads.</li></li></ul><li>Web crawler<br /><ul><li> A Web crawleris a computer program that </li></ul> browses the World Wide Web in a methodical, automated<br /> manner or in an orderly fashion. Other terms for Web <br /> crawlers are ants, automatic indexers, bots, Web spiders,<br />Web robots, Web scutters.<br /><ul><li> This process is called Web crawling or spidering. Many </li></ul> sites, in particular search engines, use spidering as a <br /> means of providing up-to-date data.<br /><ul><li> Web crawlers are mainly used to create a copy of all the</li></ul> visited pages for later processing by a search engine that<br /> will index the downloaded pages to provide fast searches. <br />
  26. 26. <ul><li>Crawlers can also be used for automating maintenance</li></ul> tasks on a Web site, such as checking links or validating<br />HTML code. Also, crawlers can be used to gather specific types of information from Web pages, such as harvesting e-mail addresses (usually for sending spam).<br /><ul><li>Spiders take a Web page's content and create key search words that enable online users to find pages they're looking for.
  27. 27. How web crawler works is shown in figure.</li></li></ul><li>
  28. 28. <ul><li>Web Crawlers are the heart of search engines.
  29. 29. They continuously keep on crawling the web and find new web page that have been added to the web ,pages that have been removed from the web.
  30. 30. When you query a search engine to find information, it is actually searching through the database which it has created and not actually searching the Web. Therefore result is provided within sort span of time by search engine.
  31. 31. They will begin with a popular site,indexing the words on its page and following every link found within site.
  32. 32. Multiple web crawlers can be used at a time.</li></li></ul><li><ul><li>Google began as an academic search engine.
  33. 33. It built its initial system to use multiple spiders,usually 3 at a time.
  34. 34. Each spider could keep 300 connections to web pages open at a time.
  35. 35. At its peak performance,its system can crawl over 100 pages per second , generating around 600 kilobytes of data each second.
  36. 36. Google had its own DNS that translates a server’s name (URL) into an address in order to keep delays to a minimum.</li></li></ul><li><ul><li>When the google spider looked at an HTML pageit looks words within page occuring in the title,subtitles,meta tags etc.
  37. 37. It was built to index every significant word on a page,leaving out the articles a,an, and the.
  38. 38. Differents approaches usually attempt to make the spider operate faster and efficiently.
  39. 39. Some spider will keep track of the words in the title,sub-headings and links,along with 100 most frequently used words on the page and each word in the first 20 lines of text.
  40. 40. Lycos uses this approach to spider the web.</li></li></ul><li><ul><li>Altavista index every single word on a page,includinga,an,the and other significant words.
  41. 41. Yahoo! is pretty good at crawling sites deeply so long as</li></ul> they have sufficient link popularity to get all their pages<br /> indexed. <br /><ul><li> One note of caution is that Yahoo! may not want to</li></ul> deeply index sites with many variables in the URL string,<br /> especially since <br /> Yahoo! already has a boatload of their own content they <br /> would like to promote (including verticals like Yahoo!<br /> Shopping)<br /><ul><li>Yahoo! offers paid inclusion for deeply index database contents.</li></li></ul><li><ul><li>Some advance techniques for searching
  42. 42. Google provides some special commands that we can use to get more specific results back from searches.
  43. 43. The most well-known of these special commands is the "key phrase" with which we place a key phrase in double quotes, for example ["Indian restaurant"] which will then only show results for that exact phrase, as opposed to typing the same query without the double quotes and getting a result-set that matches both words but not necessarily in the exact same position they were typed.</li></li></ul><li><ul><li>But lesser-known command is the +inclusion command which forces the indicated word to be included in the search, for example if we want to search for the 60s English rock band ‘The Animals’, we could type [+The Animals] to force the word ‘The’ to be used as well as ‘Animals’. 
  44. 44. Another of the basic commands is the OR operator. If we write [+hotels OR resorts] and we'll notice that the results produce just that : web pages for either key phrase: hotels or resorts.
  45. 45. Another is wild card operator (*), for example : [the * animals] will show results for the farm animals, the little animals, and so on.</li></li></ul><li>Thank You<br />