Symptom
By default, out-of-the-box (OOTB), the suggestions do not work well when a collection has multiple shards.
For example, the Solr suggest query https://HOST/master_electronics_Product_default/suggest?indent=true&q.op=OR&q=Tos&suggest.dictionary=en&suggest.q=Tos works when the collection master_electronics_Product_default has a single shard, but does not work when the collection has multiple shards.
Here is the result when the collection has a single shard:
The result that collection with two shards:
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
- Product version: All SAP Commerce Cloud versions
Product
Keywords
Solr,suggestions,shards , 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.