Method SetCachingInMB
SetCachingInMB(Double, Boolean)
Enables caching for the second pass search. The cache will not grow over a specified limit in MB. The cache is filled during the first pass searched and then replayed during the second pass searched. If the cache grows beyond the specified limit, then the cache is purged and not used in the second pass search.
Declaration
public virtual GroupingSearch SetCachingInMB(double maxCacheRAMMB, bool cacheScores)
Parameters
Type | Name | Description |
---|---|---|
System.Double | maxCacheRAMMB | The maximum amount in MB the cache is allowed to hold |
System.Boolean | cacheScores | Whether to cache the scores |
Returns
Type | Description |
---|---|
GroupingSearch |
|