Open topic with navigation

# 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 HPE Category Component configuration file.

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

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

_HP_HTML5_bannerTitle.htm