Giter Site home page Giter Site logo

yousef-rabia / search-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhmoudyahia/search-engine

0.0 0.0 0.0 19.88 MB

This project aims to develop a simple Crawler-based search engine demonstrating key features such as web crawling, indexing, ranking, and search functionality. The implementation is done in Java with the Spring Boot framework.

License: Apache License 2.0

JavaScript 18.27% Java 71.91% CSS 7.26% HTML 2.56%

search-engine's Introduction

Search-Engine

This project aims to develop a simple Crawler-based search engine demonstrating key features such as web crawling, indexing, ranking, and search functionality. The implementation is done in Java with the Spring Boot framework.

๐Ÿง‘๐Ÿผโ€๐Ÿ’ป Tech Stack

  • Java: Main programming language for the backend modules (crawler, indexer, etc.).
  • Spring Boot: Framework used for building and running the backend services.
  • React: JavaScript library for building the user interface and interactive components.
  • MongoDB: for storing and managing the indexed data.

Modules

Web Crawler

The web crawler is responsible for collecting documents from the web. Multithreaded implementation with user-controlled thread settings. Careful handling of URL normalization and duplicate prevention. Respect for robots.txt exclusions. The crawler maintains state for interrupted processes.

Indexer

Converts downloaded HTML documents into an indexed data structure. Persistence in secondary storage. Optimized for fast retrieval of documents containing specific words. Supports incremental updates with newly crawled documents.

Query Processor

Handles search queries and performs necessary preprocessing. Retrieves documents containing words sharing the same stem as those in the search query.

Phrase Searching

Supports phrase searching with quotation marks. Results with quotation marks return a subset of results without quotation marks.

Ranker

Sorts documents based on relevance and popularity. Calculates relevance using methods like tf-idf and aggregates scores. Utilizes ranking algorithms for page popularity.

Web Interface

Implements a web interface for user queries. Displays results with snippets containing query words. Pagination of results and a suggestion mechanism for popular query completions.

Bonus Features

Supports AND/OR/NOT in phrase searching module (Maximum of two operations per single search). Implementation Details

๐Ÿ“ฑ Screenshots

Screenshot 2023-11-27 091607

photo_2023-11-27_09-29-20

Project Document

image image image image

search-engine's People

Contributors

mosobhy01 avatar mhmoudyahia avatar youssef-hagag avatar yousef-rabia 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.