Giter Club home page Giter Club logo

mini-google's Introduction

#Mini-Google

  • A peer-to-peer implementation of a Googe-style search engine hosted on Amazon’s AWS ecosystem.

  • Our search engine returns relevant results as determined by both our implementation of the PageRank algorithm and a word index generated from over 200,000 web documents. We use the Okapi BM25 algorithm to provide a relevancy score for candidate documents, and combine it with query terms’ word positions in candidate documents, the candidate documents’ PageRank and the candidate documents’ domains’ Alexa ranking to generate a final ranking for our search results.

  • Our search engine contains four major components:

    • Distributed Crawler: consists of multiple worker nodes, for crawling documents, and a master node, to which the worker nodes report their status. Each crawler is responsible for a defined subset of domains (based on the Java-assigned hash code of each URL’s domain), and is responsible for redistributing URLs directly to other crawlers.

    • Indexer: takes documents from the crawler and create a lexicon, inverted index, as well as other information (e.g. word position, hit type, etc.). We implemented different indexers for different type of documents, including pdf, html, xml and txt. The indexer runs on Amazon EMR.

    • PageRank: implemented in the map-reduce version and runs on Amazon EMR. The PageRank of each URL is calculated using a representation of the link structure generated by the crawler. We also add extra pre-processing and post-processing to handle sink and hog.

    • Search Engine: creates database for inverted index, PageRank value, Alexa Ranking and document content. Use multiple phases to get search results, e.g. parse query, tf-idf ranking, word position checking, PageRank & Alexa Rank integrating, etc. We also display preview of each returning result.

mini-google's People

Contributors

jeremy-wei avatar kevlaria avatar joophong avatar rohitgupta3 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.