To enable the use of the classification synonyms that you defined in the .csv file or files, follow these steps:
Create the following folder:
/GuidedSearch/GSServer/workspace/apps/appName/config/classificationSynonyms
where appName is the name of your application as defined in the
moduleProperty
attribute oflast-mile-crawl.xml
:<moduleProperty> <key>appName<key> <value>appName<value> <moduleProperty>
Copy the .csv file or files into the folder that you created in the previous step.
If you are upgrading an existing installation of Guided Search to use classification synonyms, replace the
<manipulatorConfigs>
tag inGuidedSearch/GSServer/workspace/apps/appName/config/cas/last-mile-crawl.xml with this version:
<manipulatorConfigs> <manipulatorConfig> <moduleId> <id>com.endeca.itl.classification.~ ClassificationSynonymsManipulator </id> </moduleId> <moduleProperties> <moduleProperty> <key>synonymsDirectory</key> <value>@@dir@@/GuidedSearch/GSServer/workspace/~ apps/appName/config/classificationSynonyms </value> </moduleProperty> </moduleProperties> <id>ClassificationSynonymsManipulator</id> <enabled>true</enabled> </manipulatorConfig> </manipulatorConfigs>
Set
@@dir@@
to the directory where Guided Search is installed.Note
You do not need to replace the
manipulatorConfigs
attributelast-mile-crawl.xml
if you are using or upgrading to Guided Search release 11.3.0.1.0 or later.Copy the
_.json
file that configures the dimension and paste it into./config/import/attributes/system
.Run the following command to import the configured dimension into your system:
./runcommand.sh IFCR importContent attributes/system ../config/import/attributes/system
Run a baseline update. For information about how to do this, see Running a record store merger.