Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsIndexCacheOptions::maxCount Data Member
dtsIndexCacheOptions Structure | dtsIndexCacheOptions Structure | dtSearch Namespace | Send Feedback

Maximum number of indexes to keep in the cache

int maxCount;
Remarks

The maximum number indexes to keep in the cache cannot be changed unless the cache does not contain any indexes that are in use (being used to for a search in progress). If any indexes are currently in use, an attempt to change maxCount will be ignored. 

The actual number of open indexes in a cache will depend on the level of activity. For example, if the cache has maxCount set to 10 but only one index is being searched on a single thread, the cache will never contain more than one index. On the other hand, if the a single index is being searched on three threads, the cache may have up to three instances of that index.

Structure
Links
You are here: C++ API > Classes > dtsIndexCacheOptions Structure > dtsIndexCacheOptions::maxCount Data Member
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.