Category Component 26.1
Category Component Help

# DocCountOnly

Set `DocCountOnly` to `True` to return only the hit count (the total number of available results) in the category query. In this case, the action does not return result documents.

Set `DocCountOnly` to `False`, to return the number of result documents specified in NumResults. If you set TotalResults to `True` it also returns the total number of available results.

NOTE: For `DocCountOnly` to return hit counts, you must set the StoreDocCounts configuration parameter must be set to `True` in the `[Category]` section of the Category component configuration file.

Actions: | CategoryQuery
Type: | Boolean
Default: | False
Example: | `DocCountOnly=True`
See Also: | TotalResults StoreDocCounts configuration parameter

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 Category Component 26.1

Topic Title: DocCountOnly