Enabling interim fix JR54001

You must complete these steps to adopt the fix in this APAR.

Before you begin

  1. Install the interim fix for APAR JR54001.

Procedure

Configure the SpellCheckCollatedResultsOnly search property in the catalog component configuration file (wc-component.xml) on the Search EAR:
  1. Open the catalog component configuration file on the Search EAR for editing.
    The component configuration file is stored in the following location:
    Search_eardir/xml/config/com.ibm.commerce.component_name/wc-component.xml
    The default component configuration file for the search application.
    Search_eardir/xml/config/com.ibm.commerce.component_name-ext/wc-component.xml
    The extended component configuration file for the search application.
    To change the value of an existing property in the WebSphere Commerce search component configuration file, you must create a customized version of the file in this location. The customized version of the file must contain only the changed properties.
    For more information about the values within the file, see Search properties in the component configuration file (wc-component.xml) (Search EAR).
  2. Set the following property:
    <!-- 
        	  SpellCheckCollatedResultsOnly
            
            When set, only spell corrections originated by the collation query are returned in the REST
            response. otherwise, both collation query suggestions and none collation query suggestions 
            will be returned. 
            
            Collation query suggestions do take into account filter queries and guarantee that collations 
            will return results if re-run by the client.
            
            Default value is false.
          -->
          <_config:property name="SpellCheckCollatedResultsOnly" value="true" />
    

    For more information about setting values in the file, see Changing properties in the component configuration file (wc-component.xml) (Search EAR).