This discussion is archived
4 Replies Latest reply: Feb 3, 2013 7:57 PM by user776266 RSS

Thesaurus xml file set on workbench

user776266 Newbie
Currently Being Moderated
Hi,

Our customer is trying to set Thesaurus. There is two way to set thesaurus, one is through Workbench and another is through Developer Studio.

Question is, for the thesaurus set on workbench, where these definition stored on the server ?

Like that is defined on DevStudio, do we have xml definition file created like Discover.thesaurus.xml inside pipeline configuration file ?

Regards,
Yuki
  • 1. Re: Thesaurus xml file set on workbench
    Branchbird - Pat Journeyer
    Currently Being Moderated
    Yuki,

    You do get a file created and persisted inside the Workbench. However, it's not the easiest thing to find/open and I would not attempt to modify it directly.

    Go to your Installation under:

    server\workspace\state\emanager\instances\[YOUR_APP_NAME]\resources
    (Windows ex: C:\Endeca\ToolsAndFrameworks\3.1.0\server\workspace\state\emanager\instances\Discover\resources)

    At that location, you will see a list of files (Cartridge Templates, Pipeline configuration, etc.) for your Endeca application. Here's the tricky part: They all have a suffix of .xml but they are not actually .xml files. They are zip files with an XML extension. If you open them as zip archives, you'll see they contain a text file corresponding to the name of the original file. For example THESAURUS.thesaurus.xml is actually a zip file containing a single text file (THESAURUS.thesaurus). If you extract that file and open it, you can see Workbench's "view of the configuration".

    Hope this helps, I wouldn't attempt to modify these files (I doubt Workbench would even "respect" the edits) but it can be useful as a reference. If you need help setting the thesaurus programatically, the Deployment Template components are definitely the way to go.

    Regards,

    Patrick Rafferty
    http://branchbird.com
  • 2. Re: Thesaurus xml file set on workbench
    user776266 Newbie
    Currently Being Moderated
    Hello Patrick,
    Thanks very much for the answer. We could find the xml file and unzip it, however, content is empty and we cannot find the contents of workbench.

    Do we need other steps to reflect the contents of workbench onto the xml file you specified, or are we missing any points ?

    Regards,
    Yuki
  • 3. Re: Thesaurus xml file set on workbench
    Kristen G Explorer
    Currently Being Moderated
    Starting in 3.1, Workbench has it's own storage of some of the configuration. Thesaurus entries is one of these types of configuration. You should no longer edit Thesaurus in developer studio - the Endeca Configuration Repository running in Workbench is the master for that now. There are scripts provided that allow you to import and export configuration from the repository.
  • 4. Re: Thesaurus xml file set on workbench
    user776266 Newbie
    Currently Being Moderated
    Hi Kristen, thanks for the answer. We understood that setting on DevStudio is not needed.

    However, do we need to run the script in order to reflect the workbench change into xml ? Previous answer seems to be point out where thesaurus setting on workbench is reflected, but this is empty. Also, I could not find any such script to import/export the thesaurus setup on workbench, where as I read through workbench guide.

    Thanks, Yuki

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points