Query Manipulation Server 26.3
Query Manipulation Server Help

# Example Synonym Rules

The following rule expands any query for the terms dog, hound, or canine to include all three terms.

    #DREREFERENCE 695120425336110405
    #DRETITLE dog synonyms
    #DREDBNAME ACTIVATED
    #DREFIELD QMSTYPE="4"
    #DREFIELD QMSAGENTBOOL="dog hound canine"
    #DREFIELD KEYWORDS="dog,hound,canine"
    #DREFIELD CONCEPT="SYNONYM(dog hound canine)"
    #DREFIELD DATABASERESTRICTION=""
    #DRECONTENT
    dog hound canine
    #DREENDDOC

This synonym rule expands the following query:

    action=Query&Text=hound&ExpandQuery=True

to:

    action=Query&Text=dog hound canine

The following rule expands any query for the term dog, hound, canine, or man's best friend to include all four terms when the `FieldText` restricts the results to those that contain the term `pets` in the `Type` field.

    #DREREFERENCE 695120425336110405
    #DRETITLE dog synonyms
    #DREDBNAME ACTIVATED
    #DREFIELD QMSTYPE="4"
    #DREFIELD QMSAGENTBOOL="dog hound canine man's best friend"
    #DREFIELD KEYWORDS="dog,hound,canine,man's best friend"
    #DREFIELD CONCEPT="SYNONYM(dog hound canine "man's best friend")"
    #DREFIELD DATABASERESTRICTION=""
    #DREFIELD QMSFIELDTEXT="MATCH{pets}:Type"
    #DREFIELD Category=""
    #DRECONTENT
    dog hound canine man's best friend
    #DREENDDOC

This synonym rule expands the following query:

    action=Query&Text=dog&FieldText=MATCH{pets}:Type&ExpandQuery=True

to:

    action=Query&Text=SYNONYM(dog hound canine "man's best friend")&FieldText=MATCH{pets}:Type

Related Topics

- Create Synonym Rules

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Query Manipulation Server 26.3

Topic Title: Example Synonym Rules