Newer Version Available
Include Search Rule Input
- Root XML tag
- <searchResultsRules>
- JSON example
-
1{ 2 "type" : "Include", 3 "ruleDefinition" : ["decaffeinated", "decaf"], 4 "locales" : ["en_US"] 5} - Properties
-
Name Type Description Required or Optional Available Version type String Type of search rule. Value is: - Include—When a term in a query matches any term in a ruleDefinition, Commerce Search returns results for all terms in the list.
Required 58.0 ruleDefinition String Comma-separated list of terms that the include search rule applies to. Valid number of unique strings is from 2 through 5. Required 58.0 locales String Comma-separated list of up to 10 locales that the include search rule applies to. Required 58.0