Enabling interim fix JR54025

You must complete these steps to adopt the fix in this APAR. These steps enable WebSphere Commerce search to boost queries using content from an extension index.

Before you begin

  1. Install the interim fix for APAR JR54025.

Procedure

  1. Open the solrhome/MC_masterCatalogId/locale_name/CatalogEntry/conf/solrconfig.xml file for editing.
  2. Find the following section in the file:
    
    <!--
               Query Parsers
    
           http://wiki.apache.org/solr/SolrQuerySyntax
    
           Multiple QParserPlugins can be registered by name, and then
           used in either the "defType" param for the QueryComponent (used
           by SearchHandler) or in LocalParams
        -->
    
  3. Insert the following query parser:
    
    <queryParser name="func" class="com.ibm.commerce.foundation.internal.server.services.search.parser.solr.SolrSearchExtensionFunctionQParserPlugin" />
    
  4. Find the following section in the file:
    
    <!--
      		 Function Parsers
    
           http://wiki.apache.org/solr/FunctionQuery
    
           Multiple ValueSourceParsers can be registered by name, and then
           used as function names when using the "func" QParser.
        -->
    
  5. Insert the following parser after the getDeepSequence parser:
    
    <valueSourceParser name="ms" class="com.ibm.commerce.foundation.internal.server.services.search.parser.solr.SolrSearchExtensionDateValueSourceParser" />
    
  6. Save your changes and close the file.
    Note: You cannot extend the Solr configuration file. Ensure that you track the changes you make to the file, so that you can reapply your changes when you update WebSphere Commerce search to a later feature pack version.

    For more information, see Search configuration properties in the Solr configuration file (solrconfig.xml).