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
- Install the interim fix for APAR JR54025.
For information about
how to install an interim fix, see
Procedure
- Open the solrhome/MC_masterCatalogId/locale_name/CatalogEntry/conf/solrconfig.xml file
for editing.
- 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
-->
- Insert the following query parser:
<queryParser name="func" class="com.ibm.commerce.foundation.internal.server.services.search.parser.solr.SolrSearchExtensionFunctionQParserPlugin" />
- 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.
-->
- Insert the following parser after the
getDeepSequence
parser:
<valueSourceParser name="ms" class="com.ibm.commerce.foundation.internal.server.services.search.parser.solr.SolrSearchExtensionDateValueSourceParser" />
- Save your changes and close the file.