Code Monkey home page Code Monkey logo

comp_4321_project_search_engine's Introduction

COMP4321-Search Engine

87YungLive-search engine

One Paragraph of project description goes here

Getting Started

The search engine was built using Java Maven project with spring framework

  • Java (Maven)
  • Tomcat server
  • Spring framework
  • Javascript
  • Jsp
  • CSS

Installing

Follow a concise article written by SeanThePlug to set up the environment: links to article

Please also change the following value inside GetUserQueryServlet.java

    String path = "ABSOLUTE_PATH/comp_4321_project_search_engine/src/main/java/db/data/words";
    String path2 = "ABSOLUTE_PATH/comp_4321_project_search_engine/src/main/java/db/data/docs";

Alt text

Also change the following path inside InvertedIndex.java

FileWriter writer = new FileWriter("ABSOLUTE_PATH/comp_4321_project_search_engine/src/txtFile/spider_result.txt", true);

Alt text

Running the tests for phase 1

  • Before starting the test, you have to manually delete the content within the db/data/words and db/data/docs
  • Run the server and type in (https://www.cse.ust.hk/) to the textbox.
  • Click submit and wait for the text file to generate.
  • find the spider_result.txt in the src/txtFile folder

Running the tests for phase 2(please check the final report)links to report

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.