Skip to content
Jeroen Vermeulen edited this page Jul 15, 2014 · 22 revisions

Q: I have an Error about QueryElevationComponent and "MA147LL/A"

Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent. at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:202) at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:527) at org.apache.solr.core.SolrCore.(SolrCore.java:594) ... 34 more Caused by: java.lang.NumberFormatException: For input string: "MA147LL/A"

A: Remove examples from elevate.xml

The Solr example configs include a file elevate.xml which influences the results when searching for "foo bar" or "ipad". Please edit this file and remove the examples.


Q: How do I install a Solr server?

We often get this question. We are sorry but it is a bit outside our scope.

A: You can Google it, or ask / hire a sys admin

It highly depends on which version of what operating system you are using on your server. Solr already exists since 2004, so there is a lot of documentation how to install and configure Solr. For example if you are using Ubuntu 12, Google: How to install Apache Solr on Ubuntu 12. We do have a wiki page with an overview of the steps get Solarium Search working in Magento. If possible, you can ask your system administrator, or hire a freelancer.


Q: Error: Unknown field 'product_id'

In System >> Configuration >> CATALOG >> Solarium Search the test connects to Solr successfully, but when reindexing the catalogsearch_fulltext it returns the following error:

Error reindexing Solr: ERROR: [doc=null] unknown field 'product_id' Please check the Solr server configuration.

A: Install schema.xml and restart Solr

Please verify you took all steps described in the Installation-Instructions. You probably missed step 3 or 4.

Clone this wiki locally