Home > Solr-Baseball-Stats-Demo

Solr-Baseball-Stats-Demo

Solr-Baseball-Stats-Demo is a project mainly written in JAVASCRIPT and C#, it's free.

This is a demo application demonstrating how to leverage Apache Solr for basic statistical analysis.

This code is free to use for both commercial and personal purposes, no attribution necessary.

  1. Download and install Apache Tomcat http://tomcat.apache.org/download-60.cgi

  2. Once installed, copy solr.war into the webapps directory in the Tomcat install folder (check Program Files). Be sure that Tomcat is currently not running.

  3. Modify your schema.xml file accordingly.

  4. In the Tomcat Monitor tool on the Java tab, add a new option under Java options. It will look like this: -Dsolr.solr.home=C:ApplicationsTestingSolrCodeCampConfig Note that Config directory will contain a secondary folder called "conf" and within that folder will be your solrconfig.xml and schema.xml files.

  5. Start Tomcat.

  6. If everything works, you'll see the solr.war file exploded into a directory called "solr" within the Tomcat install folder.

  7. Make sure you set the file and Solr paths accordingly within both the SolrCodeCamp.BaseballWeb project and the SolrCodeCamp.Etl project.

  8. Run the ETL project to fill up the index.

  9. Everything should be set!