# Field Dependent Synonym Rules

You can create a synonym rule that matches queries only when certain `FieldText` is present. For example, you might have a synonym list that applies only for game products, and you do not want to apply the synonyms for DVDs.

Required IDX fields for field dependent synonym rules

Field | Description | Content type or value
--- | --- | ---
`#DREREFERENCE` | The reference for the rule. | String
`#DRETITLE` | The title of the rule. | String
`QMSTYPE` | The type of the QMS rule. | `4`
`QMSAGENTBOOL` | The AgentBoolean expression used to match the original query text. | Boolean matching expression
`KEYWORDS` | A list of words or phrases to match the query text. | Comma-separated list of words or phrases
`CONCEPT` | The expanded query text that replaces the matched query text. | Replacement string
`DATABASERESTRICTION` | The databases to query. | String
`QMSFIELDTEXT` | The FieldText expression that must match the original query. | FieldText expression
`Referenced Fields` | All fields that the `QMSFIELDTEXT` field references must be present in the rule as a field with blank content. | Empty field
`SYNONYMREPLACE` | (Optional) A Boolean value that specifies whether to replace the whole query text with the `CONCEPT`. This field value overrides the value of the `SynonymReplace` action parameter for queries that match this rule. | `TRUE` or `FALSE`

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm