# 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 IDOL Server configuration file.

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

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm