One Paragraph of project description goes here
The search engine was built using Java Maven project with spring framework
- Java (Maven)
- Tomcat server
- Spring framework
- Javascript
- Jsp
- CSS
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";
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);
- 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