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?
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
tomcatand your package manager. The dependencies will be met automatically.On CentOS/RedHat
You need to grab some alternative repo’s to make this possible
Eg.
Then you can install the package from
yumNow 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:
You can alternatively use OpenJDK
Once you’ve uploaded the binaries
Then the remaining steps
Then drop in your respective selection of
solrThen add the Magento
solrconfigurationThen set up the cores
Then finally, clean up permissions and restart
solrThen in Magento, you’ve now got 3 possible independent cores you can use for your store environments.
staging/solrdevelopment/solrlive/solrAttribution: http://www.sonassi.com/knowledge-base/multiple-solr-cores-for-magento-on-debianubuntucentosredhat/