Skip to content

Repository files navigation

Search-Engine-Project

Teammates

@Alexlam0258@cpawongaa

This project is given a starting page Here:

  • Crawl all the child pages contents
  • Build indexes in database
  • Search query using the indexes
  • Create a frontend for accepting user query

Project Report

Architecture

Architecture

URL and Libraries Used

FrontendPython BackendJava Backend
URLhttps://search.johnnyip.com/--
LibrariesReact.jsFlaskSpring Boot
Mantine (UI)pymongohtmlparser
Axiossqlite3gson
sentence_transformersspring-boot-starter-data-redis
NLTKjsoup
numpysqlite-jdbc

Result Replicate in Docker

!!! Performance of Crawling is much slower (~30 minutes) under Docker environment. Performance in local is much faster (~2 minutes).

!!! DB file in backend-java is a blank template. It is used for future data update during initialization.

In case any error occurs, please remove all files and run docker compose again.

Prerequisites

  • Before you begin, make sure you have Docker client installed

  • Make sure the compose.yaml file is inside the folder

  • Open Terminal (Mac/Linux), or cmd in Windows, and enter the following commands

cd <path_to_your_folder>
docker compose up -d
  • After those necessary docker images are downloaded, it will be up and running.

  • 3 Folders will be created

  • db folder contains the SQLite file
  • mongodb folder contains data of MongoDB
  • redis folder contains data of Redis DB

About

[HKUST] Project of CSIT5930 Search Engines and Applications

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages