Read Magento and Solr for more information.
Do you know how many customers your Magento store is losing just because your visitors can’t find the products they need since the search system is imperfect? Huge stores with an extensive amount of products suffer from it dramatically. Learn how to help your customers to find what they need and boost your sales by installing Apache Solr.
Apache Solr Advantages
Installation of Apache Solr for your Magento Store provides you with several advantages in comparison with the full-text search based on MySQL:
- Zero results in tips or results correction;
- Attribute weight based on attribute settings;
- Localized characters search;
- Word delimiter (for example, a search of “spider-man”, “spiderman return”, or “spider-man”).
To install Solr and Jetty:
- Find a suitable Solr distribution.
- Solr 3.6.2
- Solr 3.5.0
- Solr 3.4.0
If you’re not sure what version of Solr to use, see Support Matrix for Solr and Magento EE.
- As a user with root privileges, use wget or a similar command to download the file to an empty directory such as /etc/solr. An example follows.
cd empty-directory wget http://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2.tgz
Messages similar to the following display to confirm a successful download.
wget http://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2.tgz --2012-11-01 16:20:16-- http://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2.tgz Resolving archive.apache.org... 188.8.131.52 Connecting to archive.apache.org|184.108.40.206|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 78673382 (75M) [application/x-tar] Saving to: `apache-solr-3.6.2.tgz' 100%[======================================>] 78,673,382 1.41M/s in 36s 2012-11-01 16:20:52 (2.08 MB/s) - `apache-solr-3.6.2.tgz' saved [78673382/78673382]
- Unpack the Solr installation; an example follows.
tar -xvf apache-solr-3.6.2.tgz