Recommendations API Installation

General prerequisites

Standard (and easy) setup

This guide is the bare minimum which needs to be done in order to setup a working system. Scalability and high availability are addressed separately.

  1. Install and run Cassandra as usual
  2. Install Solr 4.7.0 or later
    1. In your solr.solr.home directory create a new directory named recommend and unpack the contents of {{}} there.
    2. Add Java system property to a comma-separated list of hosts running Cassandra set-up in step 1. For example, if Cassandra is running on then add to the Java command starting Solr
    3. Start Solr
  3. Deploy recommendations-web.war to application container of your choice, we usually use Apache Tomcat. Some Java system properties need to be set on the container (in the case of Tomcat, they should go in bin/ or bin/setenv.bat depending on your platform):