Content Component 26.1
Content Component Help

# 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, the Content component 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, see AgentBoolean Agents and Categories, and refer to Knowledge Discovery Expert.

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

Copyright 2025 Open Text
Version 26.1 | Last updated January 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 Content Component 26.1

Topic Title: QueryStats