void SetUseCache( const qBool useCache );
Name | Description | |
---|---|---|
in | useCache | Whether the search result cache is used. |
Sets whether to use the search results cache.
To use the search results cache, the search type must be set to DataStoreConstants::SEARCH_TYPE_PUBLIC
with the DataStoreSearchParam::SetSearchType
function, and the type of principal ID of the user that uploaded the content must be set to DataStoreConstants::SEARCH_TARGET_ANYBODY
with the DataStoreSearchParam::SetOwnerType
function.
CONFIDENTIAL