Augmenting queries

In Sybase Search, the use of synonyms and acronyms is collectively called query augmentation. Synonyms are implemented as lists of words that are considered to have the same meaning. For example:

When a term featured in a list is used as a query parameter, all the other words in the list are appended to the query. For example, the query The medicine made me drowsy, when augmented using the synonym examples above, becomes The medicine made me drowsy, lethargic, listless, sleepy.

Acronyms are implemented as a list of keys (or a single key) with a corresponding list of values. In the following example the keys “HTML” and “HTM” have the values “Hypertext Markup Language”:

Acronyms can augment a query in two ways:

You can change the list of synonyms and acronyms in one of two ways:

NoteThe query augmentation list must be UTF-8 encoded. Synonyms and acronyms are processed at runtime, so you can edit the augmentation list without having to index any documents again. However, you must restart Sybase Search to load the new synonym and acronym lists.