chris-yoon90 / Automated-facets

0 stars 0 forks source link

Solr setup with Jetty #29

Closed chris-yoon90 closed 11 years ago

chris-yoon90 commented 11 years ago

1) Download jetty distribution from: http://download.eclipse.org/jetty/stable-9/dist/ 2) Download solr distribution from: http://www.apache.org/dyn/closer.cgi/lucene/solr/4.3.0 3) Unzip jetty distribution and solr distribution. 4) From solr distribution example/webapps directory, copy solr.war to webapps directory in jetty distribution. 5) From solr distribution example/lib/ext directory, copy all files to lib/ext directory in jetty distribution. There should be 5 .jar files for slf4j and log4j (Java libraries for logging). 6) From solr distribution example directory, copy solr directory to jetty distribution, in the same directory as start.jar. 7) Start jetty with java -Dsolr.solr.home= -jar start.jar

You should be able to access solr via http://localhost:8080/solr

chris-yoon90 commented 11 years ago

Take a look at https://github.com/apache/lucene-solr/tree/trunk/solr/solrj/src/test/org/apache/solr/client/solrj

It has some tests that may tell us how to do stuff.

chris-yoon90 commented 11 years ago

We probably want to automate this step in the future. It would be very cumbersome for the users to follow these steps everytime they want to set up solr and our facet extensions.

Probably do it with some kind of script, but definitely think about how the users may wish to initiate the script