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

  • SEARCH
  • Home
  • 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 9256139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:52:17+00:00 2026-06-18T11:52:17+00:00

I’m running Magento EE 1.11 and I’ve deployed SOLR 4.1 with tomcat7. I’ve copied

  • 0

I’m running Magento EE 1.11 and I’ve deployed SOLR 4.1 with tomcat7. I’ve copied solrconfig.xml and schema.xml provided by Magento and fixed all the issues SOLR was having with the two files because they were intended for SOLR 3.6 and properly configured Magento.

Now, when I reindex search in Magneto at the very last moment SOLR spits out this exception:

org.apache.solr.common.SolrException: Unknown commit parameter 'waitFlush'

and Magento reverts back to saying a search re-indexing is required. Has anyone ran into this problem? From all the googling I’ve done there seems to be a patch for this, but where and how do I apply it?

  • 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-06-18T11:52:18+00:00Added an answer on June 18, 2026 at 11:52 am

    You should really use SOLR 3.x rather than 4 with Magento EE.

    Here’s a walk-through for configuration and installation.

    On Debian/Ubuntu

    The most straightforward installation is pretty easy using tomcat and your package manager. The dependencies will be met automatically.

    apt-get install tomcat6
    

    On CentOS/RedHat

    You need to grab some alternative repo’s to make this possible

    Eg.

    rpm -Uvh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
    rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
    rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
    

    Then you can install the package from yum

    yum install yum-priorities ant tomcat6 tomcat6-admin
    
    cd /usr/src/
    mkdir sun-java
    cd sun-java
    

    Now it gets a little trickier. Sun used to permit direct downloads; but they now have a stupid session validation in place – so download the binary via your PC and upload it to the machine.

    You need both the Linux JDK and JRE.

    The commands would have been:

    wget -O jdk.rpm.bin http://download.oracle.com/otn-pub/java/jdk/6u29-b11/jdk-6u29-linux-x64-rpm.bin
    wget -O jre.rpm.bin http://download.oracle.com/otn-pub/java/jdk/6u29-b11/jre-6u29-linux-x64-rpm.bin
    

    You can alternatively use OpenJDK

    wget http://jpackage.org/jpackage50.repo -O /etc/yum.repos.d/jpackage50.repo
    yum install -y java-1.6.0-openjdk
    

    Once you’ve uploaded the binaries

    chmod +x *.bin
    ./jre.rpm.bin
    ./jdk.rpm.bin
    ln -s /var/lib/tomcat6 /usr/share/tomcat6
    

    Then the remaining steps

    Then drop in your respective selection of solr

    mkdir /usr/src/solr
    cd /usr/src/solr
    wget http://mirrors.ukfast.co.uk/sites/ftp.apache.org/lucene/solr/3.6.1/apache-solr-3.6.1.tgz
    tar xvfz apache-solr-3.6.1.tgz
    cd apache-solr-3.6.1
    cp dist/apache-solr-*.war /var/lib/tomcat6/webapps/solr.war
    mkdir -p /var/lib/tomcat6/solr
    

    Then add the Magento solr configuration

    INSTALL_DIR="/var/lib/tomcat6/solr"
    touch $INSTALL_DIR/solr.xml
    CORES=( "staging" "development" "live" )
    for CORE in "${CORES[@]}"; do
      mkdir -p $INSTALL_DIR/$CORE/conf $INSTALL_DIR/$CORE/data 
      cp -par /usr/src/solr/apache-solr-3.6.1/example/solr/conf/* $INSTALL_DIR/$CORE/conf
      cp -par /home/path/public_html/lib/Apache/Solr/Conf/* $INSTALL_DIR/$CORE/conf
    done
    

    Then set up the cores

    cat > /var/lib/tomcat6/solr/solr.xml << EOF
    <?xml version="1.0" encoding="UTF-8" ?>
    <solr persistent="true" sharedLib="lib">
      <cores adminPath="/admin/cores">
        <core name="staging" instanceDir="staging" config="solrconfig.xml" schema="schema.xml" />
        <core name="development" instanceDir="development" config="solrconfig.xml" schema="schema.xml" />
        <core name="live" instanceDir="live" config="solrconfig.xml" schema="schema.xml" />
      </cores>
    </solr>
    EOF
    

    Then finally, clean up permissions and restart solr

    chown -R tomcat6:tomcat6 /var/lib/tomcat6/solr
    /etc/init.d/tomcat6 restart
    

    Then in Magento, you’ve now got 3 possible independent cores you can use for your store environments.

    • staging/solr
    • development/solr
    • live/solr

    Attribution: http://www.sonassi.com/knowledge-base/multiple-solr-cores-for-magento-on-debianubuntucentosredhat/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I'm interested in microtypography issues on the web. I want a tool to fix:
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have a text area in my form which accepts all possible characters from

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.