Category Component 25.3
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 25.3 | Last updated July 2025

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 25.3

Topic Title: DocCountOnly