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

additionalContent

Key name to be used to retrieve the additional content from the search response.

@type

Cartridge type to be passed. This must be set as ContentSlot.

contentPaths

Resource path to rule definitions. This should point to the folder containing rules to evaluate the additional content. By default this points to /content/additionalContent.

ruleLimit

Number of rules matches will not be more than the value specified here. The rule engine will evaluate all the rules in contentPaths based on the priorities defined.

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"]
     }
   }
}

Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices