Latest on twitter:

Installing Solr on Mac OSX

So if you’re installing this on Mac OSX, its a pretty safe bet that its for development rather than production. This means you can cut some corners, not install tomcat6 and use the pre-bundled server that comes with the example solr download.



Install Java on Mac OSX

For Mac users this is simple. Just head to the apple download centre, choose you’re version and follow along - pointing and clicking to you’re hearts content.



Install Solr 1.5

Get the latest nightly build from here. Unzip it. Then all you need do is…

cd apache-solr-1.5-dev/example/;
java -jar start.jar;

It is now up and running. Hit http://localhost:8983/solr/ you should get apache “Welcome to Solr!”.



Solango settings

For those using solango (django-solr-search) below are some example settings. The installation tutorial is here.

SOLR_SERVER = 'localhost:8983'
SOLR_ROOT = '/Users/timjdavey/Library/apache-solr-1.5-dev/example'
SOLR_SCHEMA_PATH = "".join([SOLR_ROOT, '/solr/conf/schema.xml'])
SOLR_DATA_DIR = "".join([SOLR_ROOT,'/solr/data'])