You can install Solr with RA in two different ways. You can download the latest version of Solr with RA.zip a bundle of Apache Solr and Ranking Algorithm or just download the solr-ra.war.zip which is a web archive file and copy it into an existing or new Solr installation. Below the are steps for both:
Download Solr with RA.zip (bundle)
Installation is the same as Solr. Download Solr with RA.zip (Solr with the RankingAlgorithm) from tgels.org. Unzip or untar the file, change to examples directory and start Solr as before, java -Xmx 2gb -jar start.jar.
Step1:
Download Solr with RA.zip from http://solr-ra.tgels.org
Step2:
Unzip it to a directory
Step3:
cd unzip directory/apache-solr-[version]/examples
Step4:
bash -x start_solr.sh
or
java -Xmx 2gb -jar start.jar.
Download Solr with RA.war (war file)
Instead of downloading the Solr with RA ( a huge file ), you can download just the solr_ra.war file. You will still need to download the Solr from the Solr website as below.
Unzip that first, and then change to the examples directory and follow the steps as below.
Step1:
Download Solr from the Apache Solr website, as in here: http://www.apache.org/dyn/closer.cgi/lucene/solr/
Step2:
Install Solr by unzip it to a directory.
Step3:
Download the solr_ra war file from solr-ra.tgels.com, as in here:
http://solr-ra.tgels.com
(click on download war file link at the bottom of the page)
Step4:
cp solr_ra.war.zip file to the examples directory under unzip directory/apache-solr-[version]/examples.
Step5:
unzip solr_ra.war.zip
Step 6:
cp solr.war webapps
Step 7:
bash -x start_solr.sh
or
java -Xmx 2gb -jar start.jar.
Installing on Glassfish/Tomcat/JBoss/WebLogic
If you want to deploy Solr on a different container than the default Jetty container, then deploy as before ( ie. Deploy examples/webapps/solr.war on Tomcat or Glassfish or Weblogic or Jboss).