Symptom
If you have duplicated synonyms define in solr, however the system parameter has solrfacetsearch.synonyms.filter.ignoreCase=true (default), the full indexing will fail with the following exception:
{"thread":"BackofficeLO-433","level":"WARN","loggerName":"de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob",
"message":"Error during indexer call: electronicsIndex","thrown":{"commonElementCount":0,"localizedMessage":
"de.hybris.platform.solrfacetsearch.solr.exceptions.SolrServiceException: Could not export configuration for index: name=master_electronics_Product_default",
"message":"de.hybris.platform.solrfacetsearch.solr.exceptions.SolrServiceException: Could not export configuration for index: name=master_electronics_Product_default",
"name":"de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException",
"cause":{"commonElementCount":24,"localizedMessage":"Could not export configuration for index: name=master_electronics_Product_default",
"message":"Could not export configuration for index: name=master_electronics_Product_default","name":"de.hybris.platform.solrfacetsearch.solr.exceptions.SolrServiceException",
"cause":{"commonElementCount":24,"localizedMessage":"org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://solr-0.solr.default.svc.cluster.local:8983/solr/master_electronics_Product_default]",
"message":"org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://solr-0.solr.default.svc.cluster.local:8983/solr/master_electronics_Product_default]",
"name":"de.hybris.platform.solrfacetsearch.solr.exceptions.SolrServiceException",
"cause":{"commonElementCount":24,"localizedMessage":"No live SolrServers available to handle this request:[http://solr-0.solr.default.svc.cluster.local:8983/solr/master_electronics_Product_default]",
"message":"No live SolrServers available to handle this request:[http://solr-0.solr.default.svc.cluster.local:8983/solr/master_electronics_Product_default]","name":"org.apache.solr.client.solrj.SolrServerException",
"cause":{"commonElementCount":24,"localizedMessage":"Error from server at http://solr-0.solr.default.svc.cluster.local:8983/solr/master_electronics_Product_default: testen not found in /schema/analysis/synonyms/en",
"message":"Error from server at http://solr-0.solr.default.svc.cluster.local:8983/solr/master_electronics_Product_default: testen not found in /schema/analysis/synonyms/en",
"name":"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException",
"extendedStackTrace":[{"class":"org.apache.solr.client.solrj.impl.HttpSolrClient","method":"executeMethod","file":"HttpSolrClient.java","line":681,"exact":false,"location":"solr-solrj-8.6.3.jar","version":"8.6.3 e001c2221812a0ba9e9378855040ce72f93eced4 - jasongerlowski - 2020-10-03 18:12:06"}
Please notice that even the error contains "SolrServerException: No live SolrServers available to handle this request", the actual problem is not related with solr server, but the synonym configuration.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- SAP Commerce 1808
- SAP Commerce 1811
- SAP Commerce 1905
- SAP Commerce 2005
- SAP Commerce 2011
Product
Keywords
KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview