Generating a search space XML

To generate the search space XML when creating a search space from WebSphere Commerce Accelerator, do the following:

  1. Open instance_name.xml from WC_installdir\instances\instance_name\xml\instance_name.xml in an editor. Where, instance_name is the name of your WebSphere Commerce instance.
  2. Set the value of the <GenerateXMLFile> tag to "true"
    <SearchSpaceConfiguration name="Search Space Configuration">
    <CompatibilityMode value="true"/>

    <GenerateXMLFile value="true"/>
    </SearchSpaceConfiguration>
  3. Save the instance_name.xml and restart the WebSphere Commerce instance for the changes to take effect.
  4. Create a search space for a category.

Important: The generated XML is specific to creating base search space for a category. To create a separate search category using this XML, refer to the WebSphere Commerce online help. The name of the generated XML will be ss_categoryID.xml, where categoryID is the category reference number for which the search space is created.