Open topic with navigation

# 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 HPE 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`

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm