You use REST endpoints exposed at /gsadmin/v1/cloud/pages/Default/services/guidedsearch
to ensure that service is updated to return additional content along with search results.
The following table describes the JSON attributes required to configure the Guided Search service definition.
Attribute | Value |
---|---|
| Key name to be used to retrieve the additional content from the search response. |
| Cartridge type to be passed. This must be set as |
| Resource path to rule definitions. This should point to the folder containing rules to evaluate the additional content. By default this points to |
| Number of rules matches will not be more than the value specified here. The rule engine will evaluate all the rules in |
Example: Updated Guided Search Service definition
The following JSON illustrates the default guided search service definitions. It can be updated, if required, by using REST endpoints defined for ecr type page.
{ "ecr:type" : "page", "contentItem": { "@name": "Guided Search Service", "@type": "GuidedSearchService", "additionalContent": { "ruleLimit": 1, "@type": "ContentSlot", "@contentPaths": ["/content/additionalContent"] } } }