Close
dtSearch Engine API for Java
IndexCache.getMaxCount Method

Maximum number of indexes to keep in the cache

Syntax
Java
public int getMaxCount();

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.