![]() |
|
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OMNIDEX |
Omnidex Text |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Adding or Modifying a Managed Synonym List
|
Managed Synonym ListsManaged Synonym Lists are user defined synonym lists that can be added to query criteria. Each list is uniquely named and can be implicitly used for specific searches, depending on application needs. For example, suppose a user wants to retrieve records for all customers in Los Angeles, California. The data, however, varies from record to record, with some being LA and some Los Angeles. In the CITY_ABBR provided managed synonym list, LA is a synonym of Los Angeles and Los Angeles is a synonym of LA. Therefore, no matter which way the criteria is entered and no matter which way the city was entered in the database, the record will be found. Omnidex provides several predefined managed synonym lists that can be used and modified. You can also create you're own custom managed synonym lists, as long as they are properly formatted. See Adding or Modifying a Managed Synonym List for more information.
Adding or Modifying a Managed Synonym ListTo add a new synonym list or modify an existing list:
DetailsManaged synonym lists are maintained in tab-delimited files. These files must have a .tdf or .txt file extension and can contain multiple lists. The file must be located in the config/english/synonyms subdirectory of the OMNIDEX_HOME directory.
Each list has the same format: LISTNAME tab KEYWORD tab REPLACEMENT LISTNAME is the name of the list. Each list name must be unique to distinguish multiple lists from each other. This name is used to instruct Omnidex which list to obtain the synonyms from. KEYWORD is the word that the list of synonyms in REPLACEMENT pertain to. KEYWORD can contain a word or phrase up to 128 characters and is case-insensitive. REPLACEMENT contains a comma or space separated list of synonyms for the word in the KEYWORD column. The replacement list may be up to 8,192 characters. Replacement words or phrases may be intermingled and can occur in any order.
The REPLACEMENT or synonym list may consist of:
In this example, you would apply this synonym list to a date class field.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Environment
Catalog ![]() |
Database
Integration ![]() |
Omnidex
Text![]() |
Other
Features ![]() |
Environment |
Database |
Table |
Column |
Rule |
Index |
Message |
SQL Server |
Oracle |
DB2 |
Flat Files |
External Documents |
Configuration |
Keyword Searches |
Synonym Searches |
Proximity Searches |
Form Searches |
Misspelling Searches |
Spell Check Searches |
Phonetic Searches |
Exporting Data |
Pseudo-columns |
Partitioning |