Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6359247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:29:36+00:00 2026-05-24T23:29:36+00:00

I tried looking for documentation but it is quite sparse. I wrote the following

  • 0

I tried looking for documentation but it is quite sparse. I wrote the following guide hoping that it might save someone 2-3 hours dealing with installations, setup and configuration.
The performance gains from using Solr are quite spectacular compared to the MySQL fulltext search standard setup. It is definitely worth the time to get this working in your Magento installation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:29:37+00:00Added an answer on May 24, 2026 at 11:29 pm

    Magento – Solr Installation & Configuration

    1. Make sure the Java JDK is installed:
      1. sudo add-apt-repository ppa:sun-java-community-team/sun-java6
      2. sudo apt-get update
      3. sudo apt-get install sun-java6-jre sun-java6-jdk
    2. Install & Configure Tomcat:

      • Installation:
        sudo apt-get install tomcat6 tomcat6-admin tomcat6-common tomcat6-user
      • Configuration:
        vi /etc/tomcat6/tomcat-users.xml
      • Add the following roles and user to the configuration.

        <role rolename="admin"/>
        <role rolename="manager"/>
        <user username="tomcat" password="password" roles="admin,manager"/>
        
      • Restart the server:
        /etc/init.d/tomcat6 restart

        If all goes well, goto http://hostname:8080

    3. Install Solr:

      • Check for the latest distro here.. http://apache.rediris.es/lucene/solr/
      • Download release
        http://apache.rediris.es/lucene/solr/3.3.0/apache-solr-3.3.0.zip
      • Install & Configure

        1. unzip apache-solr-3.3.0.zip
        2. mkdir /usr/share/tomcat6/webapps
        3. cp apache-solr-3.3.0/dist/apache-solr-3.3.0.war /usr/share/tomcat6/webapps/solr.war
        4. cp -r apache-solr-3.3.0/example/solr /usr/share/tomcat6/solr
        5. vi /etc/tomcat6/Catalina/localhost/solr.xml

          <Context docBase="/usr/share/tomcat6/webapps/solr.war" debug="0" 
          privileged="true" allowLinking="true" crossContext="true">
          <Environment name="solr/home" type="java.lang.String" 
          value="/usr/share/tomcat6/solr" override="true" />
          </Context>
          
        6. chown -r tomcat6.tomcat6 /var/lib/tomcat6
        7. /etc/init.d/tomcat6 restart
      • You should see Solr access on your Tomcat admin/manager page (http://hostname:8080/manager/html)

    4. Configure Magento to use Solr:

      1. Replace the original Solr conf directory with the Magento conf files. The trick is just to copy the directory from Magento, and replace the one in Solr. That’s it!

        • In Magento, the folder is located in: [magento-instance-root]/lib/Apache/Solr/conf.
        • In Solr, the folder is located in [Solr-instance-root]/example/solr/conf.
      2. Configure Solr in Magento:
        In admin, goto System -> Configuration -> Catalog -> Catalog Search

    Magento Search Configuration Panel


    Troubleshooting:

    Make sure all configuration files belong to tomcat6:tomcat6
    chown -r tomcat6.tomcat6 …

    • /var/lib/tomcat6/conf/Catalina/localhost
    • /usr/share/tomcat6/solr/conf
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried x = y ** e, but that didn't work.
I'm looking for a plugin that will make Eclipse a decent documentation editor with
looking at the (quite outdated) documentation on the apple website and across the internet
This is a fairly involved bug, and I've tried looking around to find other
Tried to map it from Preferences -> Settings -> Keyboard, but the key combo
I tried scouring the web for help on this issue, but there are so
I tried to package a Twisted program with py2exe, but once I run the
I tried but I guess Message Box only works with win forms. What is
Update : I have tried using fuslogvw.exe to get logs. But what exactly am
am looking for a django templatetag that will count words and substring a whole

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.