Team members: Kaixin Zhang
- Java Version: 1.8.0
- Maven Version: 3.5.0
- Git
- Maven: https://maven.apache.org/download.cgi
- Git Download: https://git-scm.com/downloads
- Eclipse Download: http://www.eclipse.org/downloads/packages/release/Mars/2 (Windows, MacOX and Linux)
- Maven: https://maven.apache.org/install.html For windows: https://www.mkyong.com/maven/how-to-install-maven-in-windows/
- Git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
- Eclipse: https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/set-up-the-eclipse-ide-for-linux
Add existing project: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
Basic Git commands: https://confluence.atlassian.com/bitbucketserver/basic-git-commands-776639767.html
Project Github Link: https://github.com/zkx0804/ProgAssignment1Team6
Please download the trec-car tool to your local disk, use terminal direct to ..\trec-car-tools\java1.7, and use command "mvn clean install" to install the jar to the local .m2 file. Then the project should be able to run locally.
- Make sure the treccar-tool-1.4.jar is in .m2 file. File should be .m2\repository\edu\unh\cs\treccar\treccar-tools\1.4
- Clone the ProgAssignment2Team6 repo, then cd into the directory
- Run maven command:
- mvn exec:java -Dexec.mainClass="main.GetRankingResult" -Dexec.args="true"
- mvn exec:java -Dexec.mainClass="main.PercisionAtR" -Dexec.args="true"
- Args:
- true: Use lucene default scoring function
- false: Use custom scoring function.