Skip to content

paragdakle/us-election-search-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

us-election-search-engine

U.S. Elections Search Engine Readme:

In order to run the project from the project folder run:

java -cp elections-1.0-SNAPSHOT-jar-with-dependencies.jar api.routes.Router

The webpage can be accessed on the following url:

http://localhost:8080/

Some sample queries with configurations:

  1. Query: presidential election Relevance: Vector Space Clustering: No option selected Query Expansion: No option selected

  2. Query: george w bush Relevance: Page Rank Clustering: No option selected Query Expansion: No option selected

  3. Query: bill clinton Relevance: HITS Clustering: No option selected Query Expansion: No option selected

Note: For HITS the first 10 results are HUBS and the next 10 are AUTHORITIES

  1. Query: florida recount Relevance: Vector Space Clustering: No option selected Query Expansion: Association

  2. Query: us presidential Relevance: Vector Space Clustering: No option selected Query Expansion: Scalar

  3. Query: electoral college Relevance: Vector Space Clustering: No option selected Query Expansion: Rocchio

If you want to build the project from scratch and then run you will require Java 1.8 and maven installed on your system.

Use the following instructions for building and running the code:

  1. mvn clean -DskipTests install
  2. mv target/elections-1.0-SNAPSHOT-jar-with-dependencies.jar .
  3. java -cp elections-1.0-SNAPSHOT-jar-with-dependencies.jar api.routes.Router

Note: the commands need to be run from the project root directory.

The following openly available material was used (crediting to the authors):

  1. The home webpage template has been taken from Colorlib.
  2. The favicon is taken from Flaticons.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published