SearchEngine Based on mysql and java dynamic web project. Lab for ICS121
This projects contains 37497 web files that downloaded previously in WEBPAGES_RAW_ALL; Based on index(tf, tfidf) stored in MySQL, it is easy to perform ranked information retrival.
How to use this engine?
- make sure you have python2.7, java, apache-tomcat, and mysql installed.
- shell> mysql -u mytestuser -p < create_searchdb.sql
- shell> python2.7 MySQLInjection.py (this program takes nearly four hours. Be prepared.)
- shell> open tomcat by entering "http://localhost:8080" in browser, click app manager, click choose file
- deploy SearchEngineServer.war
- click SearchEngineServer. The page should jump to http://localhost:8080/SearchEngineServer/
- type anything you want
- wait for you result
- The project use datatable plug-in. So click "score" to get ranked web url.