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 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.
You can apply profiles to both
and processors. The default 9.1.14 configuration is
.The following procedure applies to when you use the wc.search.nlp.profile name, and when you use wc.search.basic.nlp.profile as
the name.
Procedure
-
To configure one profile for all stores, insert the entry below in the database table.
The following example uses
wc.search.nlp.profileand thus configures the default 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"}') -
To override the profile at the eSite level, add the entry below to the database table.
This example also uses the
wc.search.nlp.profileconfiguration for the default 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 table, perform a full reindexing for that store. This will populate the store index configuration section with your changes.