Installing the JVM

If you are using Riak Search 2.0, codename Yokozuna, you will need to install Java 1.6 or later to run Apache Solr, the search platform that powers Riak Search.

We recommend using Oracle’s JDK 7u25. Installation packages can be found on the Java SE 7 Downloads page and instructions on the documentation page.

Installing Solr on OS X

If you’re using Riak Search on Mac OS X, you may see the following error:

java.net.MalformedURLException: Local host name unknown: <YOUR_HOST_NAME>

If you encounter this error, we recommend manually setting the hostname for localhost using scutil.

scutil --set HostName "localhost"