SAP Knowledge Base Article - Preview

2561591 - How to add more search field on backoffice PCM

Symptom

Search on Backoffice PCM, by default it only query on code, name and pk:

DEBUG [hybrisHTTP64] [DefaultFacetSearchStrategy] yq=code_text:*cordless*+OR+name_en_string:*cordless*+OR+pk_string:*cordless*+OR+

_query_:"\{\!multiMaxScore\+tie%3D0.0\}\(\(code_text\:cordless\^10.0\)\+OR\+\(_backofficeLabel_text_en\:cordless\^10.0\)\+OR\+\(name_en_string\:cordless\^10.0\)\+OR\+\(pk_string\:cordless\^10.0\)\)\+OR\

+\(\(code_text\:cordless\~\)\+OR\+\(name_en_string\:cordless\~\)\)\+OR\+\(\(code_text\:cordless\*\)\+OR\+\(_backofficeLabel_text_en\:cordless\*\)\+OR\+\(name_en_string\:cordless\*\)\)\+OR\

+\(\(code_text\:\"cordless\"\^50.0\)\+OR\+\(_backofficeLabel_text_en\:\"cordless\"\^50.0\)\+OR\+\(name_en_string\:\"cordless\"\^50.0\)\+OR\+\(pk_string\:\"cordless\"\^100.0\)\)"&q={!boost}(%2B{!lucene+v%3D$yq})&fq=_typeCode: Product"+OR+"ApparelProduct"+OR+"ApparelSizeVariantProduct"+OR+"ApparelStyleVariantProduct"+OR+"ElectronicsColorVariantProduct"+OR+"ERPVariantProduct"+OR+"GenericVariantProduct"+OR+"VariantProduct")&

sort=score+desc,pk_string+asc&start=0&rows=100&facet.field=catalogVersion_en_string&facet.field=catalog_en_string&facet.field=price_usd_string&facet.field=name_en_string&facet.field=priceValue_usd_double&

facet.field=category_string_mv&facet=true&facet.sort=count&facet.mincount=1&facet.limit=50&fl=score,*,pk&spellcheck=true&spellcheck.q=cordless&spellcheck.dictionary=en&spellcheck.collate=true


Read more...

Product

SAP Commerce all versions

Keywords

Free text query, backoffice PCM , KBA , CEC-COM-CPS , SAP Commerce , 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.