Feature Pack 5

Enabling unstructured content searches in the Aurora starter store

You can enable searching on unstructured content in the Aurora starter store by using the default keyword search field in the storefront.

Feature Pack 6 or laterYou can use the Advanced Search page in the Aurora starter store to search for unstructured content (attachments) in the storefront.

Before you begin

Complete the following tasks:

Procedure

  1. Open your custom WebSphere Commerce search configuration file (wc-search.xml) for editing.
  2. Locate the following search profile:
    
    <_config:profile extends="IBM_findCatalogEntryByName" name="IBM_findCatalogEntryByNameAndShortDescription">
    
  3. In the <field> nodes list, add an unstructure field name, as seen in bold:
    
    <_config:query inherits="true">
         <_config:field name="defaultSearch"/>
         <_config:field name="shortDescription"/>
         <_config:field name="unstructure"/>
    </_config:query>
  4. Save and close your customwc-search.xml file.
  5. Test your configuration changes by searching the storefront to confirm that the search results now contain unstructured content by default.
  6. Deploy the customized file to the production environment.