Enabling interim fix JR54247

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

Before you begin

  1. Install the interim fix for APAR JR54247.

Procedure

Configure the SpellCheckQueryOperator 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:
    
    			<!-- 
    				SpellCheckQueryOperator
    
    				The operator used when setting the spellcheck.q value when multiple word phrases
    				are used as search terms. Possible values are either OR, AND. Other values are ignored.  
    
    				When using a searchType value that maps to an AND operator in the main query, 
    				for example, 1002, you should typically set the SpellCheckQueryOperator value to AND. 
    
    				Note: Using the OR operator relaxes the conditions to find spell check corrections,
    				while using AND will produce fewer or no spell check corrections. 
    
    				The default value is OR, if no value is set.
    			-->
    			<_config:property name="SpellCheckQueryOperator" value="AND" />
    
    

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