-
Notifications
You must be signed in to change notification settings - Fork 84
FAQ
We received some questions from users who are able to find most of the products via Solarium Search, but some don't show up.
- Check if there is be a redirect configured via the Admin: Catalog > Search Terms which changes the results
- The product's Visibility needs to be set to
Catalog,Search
orSearch
. Also check the setting for the specific store view. - The attribute which contains the value you search for needs to have Use in Quick Search enabled
- Edit and save the product once
- Search for another string which is found in the same product
- Do a full reindex of the Catalog Search Index.
- Last resort: Check if you can find the product using Magento's native search after disabling Solarium
On a shop with for example 50000 products, the indexing may take a while.
The way the Solarium extension works is:
- We first let Magento built its normal Fulltext Index, takes a long time.
- We copy this index into Solarium, takes a short time.
In the future we plan to improve this by completely building our own index.
You can reduce the time the Fulltext index needs by disabling Use in Quick Search for attributes which don't need to be searchable. You can do this in the Admin via Catalog > Attributes > Manage Attributes.
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"
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.
We often get this question. We are sorry but it is a bit outside our scope.
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.
Please note: an Apache webserver is not the same as a Solr search server, you probably need both.
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.
Please verify you took all steps described in the Installation Instructions. You probably missed step 3 or 4.