Open topic with navigation

# Match QMS Rules in Queries

The Promotion Agentstore component retrieves rules in the same way that the IDOL Server Agentstore component retrieves categories and agents. You must set up your rules correctly to ensure that your QMS rules return for relevant queries.

When Promotion Agentstore matches query text against rules, it uses the following matching order:

1. It matches the query text against the `Index` fields in the rules (for example `DRECONTENT`).
2. For rules that match in step 1, it matches the query text against the Boolean restrictions in the `QMSAGENTBOOL` field of the rule.
3. For rules that match in step 2, it matches the query text against the FieldText restrictions in the `QMSFIELDTEXT` field in the rule (if this field exists).

Promotion Agentstore checks the Boolean restriction only if the rule content matches the query.

To ensure that rules match query text, the `DRECONTENT` field (or another index field) must contain terms that match the AgentBoolean expression. For example, you could add each term from the AgentBooelan expression to the `DRECONTENT` field.

Note: In boost rules, you must configure and use an `AlwaysMatchType` field. QMS uses this value to retrieve these rules, and you do not need to add extra terms.

In whitelist and blacklist rules, you do not need to set `DRECONTENT`, because QMS retrieves the lists directly by using the document reference.

You can optimize the performance of matching rules in the same ways that you optimize AgentBoolean agents and categories in IDOL Server. For more information, refer to the IDOL Server Administration Guide.

Related Topics

- Boost Rules
- Whitelists and Blacklists

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm