Apache Lucene.Net 2.4.0 Class Library API

FilterManager.SetCacheSize Method 

Sets the max size that cache should reach before it is cleaned up

public virtual void SetCacheSize(
   int cacheCleanSize
);

Parameters

cacheCleanSize
maximum allowed cache size

See Also

FilterManager Class | Lucene.Net.Search Namespace