Main -> Documentation -> Database Builder Newton -> Creating a New SiteSearch Database -> Database Description (.dsc) File: Structure and Syntax -> Synonyms Definition |
The synonyms definition in the database description (.dsc) file allows you to define synonyms associated with an index for terms within your database. For example, you could define "fre" to be a synonym of the term "french." Thus, a search on "french" or "fre" would correctly return "french." You can define more than one synonym per term.
Syntax begin synonyms index terms/index id:synonym terms; end synonyms
Example In the following example, "eng" and "engsyn" are defined as synonyms for the term, "english," and this definition applies to index 31. Similarly, "fre" is defined as a synonym for "french" within the same index.
See Also Creating a Database Description (.dsc) File |
[Main][Documentation][Support][Technical
Reference][Community][Glossary][Search]
|