To enable the use of the classification synonyms that you defined in the .csv file or files, follow these steps:

  1. 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 of last-mile-crawl.xml:

    <moduleProperty>
      <key>appName<key>
        <value>appName<value>
    <moduleProperty>

  2. Copy the .csv file or files into the folder that you created in the previous step.

  3. If you are upgrading an existing installation of Guided Search to use classification synonyms, replace the <manipulatorConfigs> tag in GuidedSearch/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.

  4. Copy the _.json file that configures the dimension and paste it into ./config/import/attributes/system.

  5. Run the following command to import the configured dimension into your system:

    ./runcommand.sh IFCR importContent attributes/system ../config/import/attributes/system 
  6. Run a baseline update. For information about how to do this, see Running a record store merger.


Copyright © Legal Notices