# StoreDocCounts

Set `StoreDocCounts` to `True` to store the total number of documents that might return in a CategoryQuery action for a particular category. This document count is equivalent to the value that returns when you run CategoryQuery with TotalResults set to `True` and Predict set to `False`.

IDOL Server stores the count for a category the first time that it runs a CategoryQuery for that category after you create or retrain the category.

IDOL Server returns this information for future queries that have DocCountOnly set to `True`, to display the total results without calculating them again.

By default, IDOL Server does not store the document counts.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | Category
Example: | `StoreDocCounts=True`
See Also: | CategoryQuery

_FT_HTML5_bannerTitle.htm