SAP Knowledge Base Article - Preview

3351261 - In OOTB Solr suggestions does not work if one collection with multiple shards


In OOTB by default the suggestions does not work well if one collection with multiple shards.

For example, the Solr suggest query https://SOLR_HOST/master_electronics_Product_default/suggest?indent=true&q.op=OR&q=Tos&suggest.dictionary=en&suggest.q=Tos works if the collection master_electronics_Product_default with one shard, but not work with the collection master_electronics_Product_default with multiple shards.

The result that collection with one 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.



  • Product version: All SAP Commerce Cloud versions


SAP Commerce Cloud all versions


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.