The Search Engine Architecture CSCI 572: Information Retrieval and Search Engines Summer 2010.

Slides:



Advertisements
Similar presentations
Chapter 5: Introduction to Information Retrieval
Advertisements

Digital Library Service – An overview Introduction System Architecture Components and their functionalities Experimental Results.
© Copyright 2012 STI INNSBRUCK Apache Lucene Ioan Toma based on slides from Aaron Bannert
The Inside Story Christine Reilly CSCI 6175 September 27, 2011.
Crawling, Ranking and Indexing. Organizing the Web The Web is big. Really big. –Over 3 billion pages, just in the indexable Web The Web is dynamic Problems:
TI: An Efficient Indexing Mechanism for Real-Time Search on Tweets Chun Chen 1, Feng Li 2, Beng Chin Ooi 2, and Sai Wu 2 1 Zhejiang University, 2 National.
Pete Bohman Adam Kunk.  Introduction  Related Work  System Overview  Indexing Scheme  Ranking  Evaluation  Conclusion.
By Sergey Brin and Lawrence PageSergey BrinLawrence Page developers of Google (1997) The Anatomy of a Large-Scale Hypertextual Web Search Engine.
Natural Language Processing WEB SEARCH ENGINES August, 2002.
Web Search – Summer Term 2006 VI. Web Search - Indexing (c) Wolfgang Hürst, Albert-Ludwigs-University.
“ The Anatomy of a Large-Scale Hypertextual Web Search Engine ” Presented by Ahmed Khaled Al-Shantout ICS
Information Retrieval in Practice
Presentation of Anatomy of a Large-Scale Hypertextual Web Search Engine by Sergey Brin and Lawrence Page (1997) Presenter: Scott White.
Anatomy of a Large-Scale Hypertextual Web Search Engine (e.g. Google)
© nCode 2000 Title of Presentation goes here - go to Master Slide to edit - Slide 1 Anatomy of a Large-Scale Hypertextual Web Search Engine ECE 7995: Term.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Sergey Brin and Lawrence Page.
ISP 433/633 Week 7 Web IR. Web is a unique collection Largest repository of data Unedited Can be anything –Information type –Sources Changing –Growing.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Sergey Brin and Lawrence Page Distributed Systems - Presentation 6/3/2002 Nancy Alexopoulou.
Search engines fdm 20c introduction to digital media lecture warren sack / film & digital media department / university of california, santa.
Google and Scalable Query Services
1 The anatomy of a Large Scale Search Engine Sergey Brin,Lawrence Page Dept. CS of Stanford University.
Chapter 8 Web Structure Mining Part-1 1. Web Structure Mining Deals mainly with discovering the model underlying the link structure of the web Deals with.
An Application of Graphs: Search Engines (most material adapted from slides by Peter Lee) Slides by Laurie Hiyakumoto.
Databases & Data Warehouses Chapter 3 Database Processing.
Web Intelligence Search and Ranking. Today The anatomy of search engines (read it yourself) The key design goal(s) for search engines Why google is good:
Presented By: - Chandrika B N
DETECTING NEAR-DUPLICATES FOR WEB CRAWLING Authors: Gurmeet Singh Manku, Arvind Jain, and Anish Das Sarma Presentation By: Fernando Arreola.
The Anatomy of a Large- Scale Hypertextual Web Search Engine Sergey Brin, Lawrence Page CS Department Stanford University Presented by Md. Abdus Salam.
Web Search Created by Ejaj Ahamed. What is web?  The World Wide Web began in 1989 at the CERN Particle Physics Lab in Switzerland. The Web did not gain.
Online Autonomous Citation Management for CiteSeer CSE598B Course Project By Huajing Li.
The Anatomy of a Large-Scale Hypertextual Web Search Engine By Sergey Brin and Lawrence Page Presented by Joshua Haley Zeyad Zainal Michael Lopez Michael.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Presented By: Sibin G. Peter Instructor: Dr. R.M.Verma.
Anatomy of a search engine Design criteria of a search engine Architecture Data structures.
Web Search. Structure of the Web n The Web is a complex network (graph) of nodes & links that has the appearance of a self-organizing structure  The.
CSE 6331 © Leonidas Fegaras Information Retrieval 1 Information Retrieval and Web Search Engines Leonidas Fegaras.
Introduction to Nutch CSCI 572: Information Retrieval and Search Engines Summer 2010.
Search Xin Liu. 2 Searching the Web for Information How a Search Engine Works –Basic parts: 1.Crawler: Visits sites on the Internet, discovering Web pages.
Search - on the Web and Locally Related directly to Web Search Engines: Part 1 and Part 2. IEEE Computer. June & August 2006.
Search Engines WS 2009 / 2010 Prof. Dr. Hannah Bast Chair of Algorithms and Data Structures Department of Computer Science University of Freiburg Lecture.
Gregor Gisler-Merz How to hit in google The anatomy of a modern web search engine.
The PageRank Citation Ranking: Bringing Order to the Web Lawrence Page, Sergey Brin, Rajeev Motwani, Terry Winograd Presented by Anca Leuca, Antonis Makropoulos.
Search Engines. Search Strategies Define the search topic(s) and break it down into its component parts What terms, words or phrases do you use to describe.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Sergey Brin & Lawrence Page Presented by: Siddharth Sriram & Joseph Xavier Department of Electrical.
Introduction to Digital Libraries hussein suleman uct cs honours 2003.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Kevin Mauricio Apaza Huaranca San Pablo Catholic University.
ICDL 2004 Improving Federated Service for Non-cooperating Digital Libraries R. Shi, K. Maly, M. Zubair Department of Computer Science Old Dominion University.
The Anatomy of a Large-Scale Hyper textual Web Search Engine S. Brin, L. Page Presenter :- Abhishek Taneja.
GUIDED BY DR. A. J. AGRAWAL Search Engine By Chetan R. Rathod.
CS 347Notes101 CS 347 Parallel and Distributed Data Processing Distributed Information Retrieval Hector Garcia-Molina Zoltan Gyongyi.
David Evans CS150: Computer Science University of Virginia Computer Science Class 38: Googling.
Feb 24-27, 2004ICDL 2004, New Dehli Improving Federated Service for Non-cooperating Digital Libraries R. Shi, K. Maly, M. Zubair Department of Computer.
Refined Online Citation Matching and Adaptive Canonical Metadata Construction CSE 598B Course Project Report Huajing Li.
The Nuts & Bolts of Hypertext retrieval Crawling; Indexing; Retrieval.
1 Google: Case Study cs430 lecture 15 03/13/01 Kamen Yotov.
1 CS 430: Information Discovery Lecture 20 Web Search Engines.
The Anatomy of a Large-Scale Hypertextual Web Search Engine S. Brin and L. Page, Computer Networks and ISDN Systems, Vol. 30, No. 1-7, pages , April.
General Architecture of Retrieval Systems 1Adrienn Skrop.
The Anatomy of a Large-Scale Hypertextual Web Search Engine (The creation of Google)
The Anatomy of a Large-Scale Hyper-textual Web Search Engine 전자전기컴퓨터공학과 G 김영제 Database Lab.
Presented By: Carlton Northern and Jeffrey Shipman The Anatomy of a Large-Scale Hyper-Textural Web Search Engine By Lawrence Page and Sergey Brin (1998)
1 Efficient Crawling Through URL Ordering Junghoo Cho Hector Garcia-Molina Lawrence Page Stanford InfoLab.
Information Retrieval in Practice
IST 516 Fall 2011 Dongwon Lee, Ph.D.
Google and Scalable Query Services
The Anatomy of a Large-Scale Hypertextual Web Search Engine
Anatomy of a search engine
Data Mining Chapter 6 Search Engines
Sergey Brin, lawrence Page, The anatomy of a large scale hypertextual web search Engine Rogier Brussee ICI
The Search Engine Architecture
Presentation transcript:

The Search Engine Architecture CSCI 572: Information Retrieval and Search Engines Summer 2010

May-20-10CS572-Summer2010CAM-2 Outline Introduction Google –The PageRank algorithm –The Google Architecture –Architectural components –Architectural interconnections –Architectural data structures –Evaluation of Google Summary

May-20-10CS572-Summer2010CAM-3 Problems with search engines circa the last decade Human maintenance –Subjective Example: Ranking hits based on $$$ Automated search engines –Quality of result Neglect to take user’s context into account Searching process –High quality results aren’t always at the top of the list

May-20-10CS572-Summer2010CAM-4 The Typical Search Engine Process In what stages is the most time spent?

May-20-10CS572-Summer2010CAM-5 How to scale to modern times? Currently –Efficient index –Petabyte scale storage space –Efficient Crawling –Cost effectiveness of hardware Future –Qualitative context Maintaining localization data –Perhaps send indexing to clients –Client computers help gather Google’s index in a distributed, decentralized fashion?

May-20-10CS572-Summer2010CAM-6 Google The whole idea is to keep up with the growth of the web Design Goals: -Remove Junk Results -Scalable document indices Use of link structure to improve quality filtering Use as an academic digital library –Provide search engine datasets –Search engine infrastructure and evolution

May-20-10CS572-Summer2010CAM-7 Google Archival of information –Use of compression –Efficient data structures –Proprietary file system Leverage of usage data PageRank algorithm –Sort of a “lineage” of a source of information Citation graph

May-20-10CS572-Summer2010CAM-8 PageRank Algorithm Numerical method to calculate page’s importance –this approach might well be followed by people doing research Page Rank of a page A –With damping factor d –Where PR(x) = Page Rank of page X –Where C(x) = the amount of outgoing links from page x –Where T1…Tn is the set of pages with incoming links to page A –PR(A)=(1-d)+d(PR(T1)/C(T1)+…+PR(Tn)/C(Tn)) It’s actually a bit more complicated than it first looks –For instance, what’s PR(T1) and PR(T2) and so on?

May-20-10CS572-Summer2010CAM-9 PageRank Algorithm An excellent explanation – Since the PR(A) equation is a probability distribution over all web pages linking to web page A… –And because of the (1-d) term and the d*(PR….) term –The PageRanks of all the web pages on the web will sum to 1

May-20-10CS572-Summer2010CAM-10 PageRank: Example So, where do you start? It turns out that you can effectively “guess” what the PageRanks for the web pages are initially –In our example, guess 0 for all of the pages Then you run the PR function to calculate PR for all the web pages iteratively You do this until… –The page ranks for each web page stop changing in each iteration –They “settle down”

May-20-10CS572-Summer2010CAM-11 PageRank: Example PR(a) = 1 - $damp + $damp * PR(c); PR(b) = 1 - $damp + $damp * (PR(a)/2) PR(c) = 1 - $damp + $damp * (PR(a)/2 + PR(b) + PR(d)); PR(d) = 1 - $damp; Below is the iterative calculation that we would run

May-20-10CS572-Summer2010CAM-12 PageRank Algorithm: First 18 iterations a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: Still changing too much

May-20-10CS572-Summer2010CAM-13 PageRank: next 13 iterations a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: Starting to stabilize

May-20-10CS572-Summer2010CAM-14 PageRank: Last 9 iterations a: b: c: d: a: b: c: d: a: b: c: d: a: b: c: d: Average pagerank = Stabilized

May-20-10CS572-Summer2010CAM-15 Google Architecture  Key components  Interconnections  Data structures  A reference architecture for search engines?

May-20-10CS572-Summer2010CAM-16 Google Data Components BigFiles Repository –Use zlib to compress Lexicon –Word base Hit Lists –Word->document ID map Document Indexing –Forward Index –Inverted Index

May-20-10CS572-Summer2010CAM-17 Google File System (GFS) BigFiles –A.k.a. Google’s Proprietary Filesystem –64-bit addressable –Compression –Conventional operating systems don’t suffice No explanation of why? –GFS:

May-20-10CS572-Summer2010CAM-18 Google Key Data Components  Repository Stores full text of web pages  Use zlib to compress Zlib less efficient than bzip  Tradeoff of time complexity versus space efficiency Bzip more space efficient, but slower Why is it important to compress the pages?

May-20-10CS572-Summer2010CAM-19 Google Lexicon Lexicon –Contains 14 million words –Implemented as a hash table of pointers to words –Full explanation beyond the scope of this discussion Why is it important to have a lexicon? –Tokenization –Analysis –Language Identification –SPAM

May-20-10CS572-Summer2010CAM-20 Mapping queries to hits  HitLists wordID->(docID,position,font,capitalization) mapping  Takes up most of the space in the forward and inverted indices  Types: Fancy,Plain,Anchor

May-20-10CS572-Summer2010CAM-21 Document Indexing –Forward Index docIDs->wordIDs Partially sorted Duplicated doc IDs –Makes it easier for final indexing and coding –Inverted Index wordIDs->docIDs 2 sets of inverted barrels

May-20-10CS572-Summer2010CAM-22 Crawling and Indexing Crawling –Distributed, Parallel –Social issues Bringing down web servers: politeness Copyright issues Text versus code Indexing –Developed their own web page parser –Barrels Distribution of compressed documents –Sorting

May-20-10CS572-Summer2010CAM-23 Google’s Query Evaluation 1: Parse the query 2: Convert words into WordIDs –Using Lexicon 3: Select the barrels that contain documents which match the WordIDs 4: Search through documents in the selected barrels until one is discovered that matches all the search terms 5: Compute that document’s rank (using PageRank as one of the components) 6: Repeat step 4 until no documents are found and we’ve went through all the barrels 7: Sort the set of returned documents by document rank and return the top k documents

May-20-10CS572-Summer2010CAM-24 Google Evaluation Performed by generating numerical results –Query satisfaction Bill Clinton Example –Storage requirements 55GB Total –System Performance 9 days to download 26 million pages 63 hours to get the final 11 million (at the time) –Search Performance Between 1 and 10 seconds for most queries (at the time)

May-20-10CS572-Summer2010CAM-25 Wrapup Loads of future work –Even at that time, there were issues of: Information extraction from semi-structured sources (such as web pages) –Still an active area of research Search engines as a digital library –What services, APIs and toolkits should a search engine provide? –What storage methods are the most efficient? –From 2005 to 2010 to ??? Enhancing metadata –Automatic markup and generation –What are the appropriate fields? Automatic Concept Extraction –Present the Searcher with a context Searching languages: beyond context-free queries Other types of search: Facet, GIS, etc.

May-20-10CS572-Summer2010CAM-26 The Future? User poses keyword query search –“Google-like” result page comes back –Along with each link returned, there will be A “Concept Map” outlining – using extraction methods – what the “real” content of the document is –This basically allows you to “visually” see what the page rank is –Discover information visually –Existing evidence that this works well Carrot2/3 clustering

May-20-10CS572-Summer2010CAM-27 Concept Map Chris’s Homepage Data Publications Software Data Grid Science Data Systems Software Architecture