Configuring a Thesaurus
A thesaurus can be configured to help users search for documents in the Therefore™ Navigator.
The thesaurus can be configured to provide synonyms as well as equivalent words in other languages.
For example, if configured properly, searches for "invoice" could also yield results for "receipt" or "bill".
Alternatively, the thesaurus can be used for multi-language searching. For example, searching for the word "Invoice" would also yield results for "Rechnung" (German) or "Factura" (Spanish).
The thesaurus is configured as an XML file and must be saved to the Therefore™ Server directory. The file name must then be specified under the Full-Text Search object's advanced settings.
Configuring a thesaurus file
-
Create a new file in an XML editor. Ensure the XML declaration is included.
-
Define the root element <dtSearchUserThesaurus>, including the corresponding closing tag. Then, add Thesaurus entries as child elements using the <Item> tag.
Terms with white space characters must be entered between quotation marks. For example, for Brinstar Steel to be considered as one term, it must be entered under the <Synonyms> tag as "Brinstar Steel".
Copy<?xml version="1.0" encoding="UTF-8"?>
<dtSearchUserThesaurus>
<Item>
<Name>Invoice</Name>
<Synonyms>Rechnung Factura Invoice</Synonyms>
</Item>
<Item>
<Name>Supplier</Name>
<Synonyms>Lieferant Proveedor Proveedora Supplier</Synonyms>
</Item>
<Item>
<Name>Brinstar Steel</Name>
<Synonyms>Brinstar "Brinstar Steel" "Brinstar Steel Inc" "Brinstar Steel Inc."</Synonyms>
</Item>
</dtSearchUserThesaurus>Tag Explanation <Name> The <Name> tag serves as an identifier in the User Synonyms dialog box.
Terms entered under the <Name> tag are not counted as synonyms.
<Synonyms> All synonyms including the original term have to be entered between these tags to be counted.