You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > IndexCache Class > IndexCache Properties > MaxCount Property
Close
dtSearch .NET Standard API 2024.02
IndexCache.MaxCount Property

Maximum number of indexes to keep in the cache

public int MaxCount;

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.

Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.