XML Configuration Reference : Search : ConsistentSearchCache
 
ConsistentSearchCache
com.exalead.mercury.mami.search.v20.ConsistentSearchCache
This cache is always fully evicted each time a new generation of the index is available. Warmup starts shortly afterwards, and is restarted for each new generation.
Parent elements:
com.exalead.mercury.mami.search.v20.SearchCommand (as SearchCommand)
Attributes:
Name
Type
Default value
Description
name
string
warmupWorkRatio
double
1.0
Maximum ratio of time each warm-up thread will work.
warmupThreads
int
2
Maximum number of threads for warmup
cacheQueries
boolean
True
Should this cache handle caching of incoming queries. If this is false, only warmup queries will be cached. Incoming queries with the "cache=no" argument will never be cached. Incoming queries with the "cache=force:1" argument will override this setting. Incoming queries with the "cache=evict" argument will evict the query from all caches if possible.
maxCachedQueries
int
1000
Maximum number of queries to cache. Additional queries are evicted using a LRU algorithm.
ignoreFromCacheKey
string
cache,user_id,userquery_id,usersession_id
List of url query parameters to ignore from the cache key construction. Separate each field with a come ",".
warmupDelayS
int
10
Elapsed time in seconds between imports on one of the build group slices, then the warmup starts.
Nested elements:
Name
Type
Description
WarmUpQuery
com.exalead.mercury.mami.search.v20.WarmUpQuery*
Queries that will be automatically cached