Open topic with navigation

# QueryStats

Set `QueryStats` to `True` to return information about the optimal `DRECONTENT` field content to use for an AgentBoolean rule.

AgentBoolean rules can contain Boolean matching expressions in an IDX field. However, when you use AgentBoolean rules to match documents, IDOL Server matches the `DRECONTENT` field of the rule first. You can optimize AgentBoolean queries by ensuring that the `DRECONTENT` field contains matching text that reduces the number of documents that the rule must evaluate against the Boolean expression.

To find the optimal `DRECONTENT` value, set Text to the Boolean matching expression that you want to use in your AgentBoolean rule, and set `QueryStats` to `True`. The DocumentStats action returns the optimal value, and specifies whether a Wildcard value is required to match the Boolean expression.

For more information about creating AgentBoolean rules for agents and categories, refer to the IDOL Server Administration Guide, and IDOL Expert.

Actions: | DocumentStats
Type: | Boolean
Default: | False
Example: | `QueryStats=True`
See Also: |

© 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