HCL Commerce Version 9.1.8.0 or later

Configuring the NLP profile

You can assign a Natural Language Processor (NLP) profile to specific stores using store level configuration.

About this task

Use the following instructions to configure NLP profiles for all or specific stores. Configuration consists if adding entries to the STORECONF database table and performing a full reindexing operation for the store. You can set up store level NLP profiles for all stores, or for specific stores.

HCL Commerce Version 9.1.14.0 or laterYou can apply profiles to both Basic NLP and Advanced NLP processors. The default 9.1.14 configuration is Advanced NLP.The following procedure applies to Advanced NLP when you use the wc.search.nlp.profile name, and Basic NLP when you use wc.search.basic.nlp.profile as the name.

Procedure

  1. To configure one profile for all stores, insert the entry below in the STORECONF database table.

    HCL Commerce Version 9.1.14.0 or laterThe following example uses wc.search.nlp.profile and thus configures the default Advanced NLP profile.

    INSERT INTO STORECONF (STOREENT_ID, NAME, VALUE) VALUES 
    (0,'wc.search.nlp.profile','{"en_US": "HCL_NLPProfile","es_ES": "HCL_NLPProfile","default": 
    "HCL_NLPProfile"}')
  2. To override the profile at the eSite level, add the entry below to the STORECONF database table.

    HCL Commerce Version 9.1.14.0 or laterThis example also uses the wc.search.nlp.profile configuration for the default Advanced NLP profile.

    INSERT INTO STORECONF (STOREENT_ID, NAME, VALUE) VALUES 
    (1,'wc.search.nlp.profile','{"en_US": "HCL_NLPProfile","default": "HCL_NLPProfile"}')

    The JSON string value represents the locale specific profile name, and the default represents the profile name which will be used if no store locale matches the locale mentioned for the profile name.

    Note: After adding these profile details in the STORECONF table, perform a full reindexing for that store. This will populate the store index configuration section with your changes.