Apache’s Solr search platform is a common solution for more flexible and better performing searches on sites that have outgrown their database’s built-in search facilities. Here at Nexcess, the most common use is by clients with Magento Enterprise Edition (the only version with built-in support for Solr). In this post I will walk through setting up Solr for general use, with some comments on setting it up for use the Magento EE.
wget http://jpackage.org/jpackage50.repo -O /etc/yum.repos.d/jpackage50.repo
Then install tomcat and java:
yum install -y java-1.6.0-openjdk tomcat6