SAP Knowledge Base Article - Preview

3200523 - How to perform exact match on Solr search containing special characters in Storefront

Symptom

Solr is not allowing to search using special characters such as "+", "-", ".", "/" within search terms.

For example:

A standard Tire size could be of the form "225/50R16". Searching with such a term causes Solr to search for "225" and "50R16" as two separate search terms.

Two product numbers such as "12345.1" and "12345" and searching on term "12345.1" will cause Solr to look for "12345" and "1" instead of the full product number.  Product 12345.1 and Product 12345 both can be searched out.

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: SAP Commerce Cloud 2105

Product

SAP Commerce 2105

Keywords

Solr search , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , How To

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.