Cache

Name

Cache -- defines whether to enable search result cache

search.htm

Synopsis

Cache {yes | no}

Description

Cache defines whether to enables search result cache.

When search result cache is enabled, search for every distinct query is actually done only once following which the results are put into the cache. All further queries with the same search words and the same search parameters load the cached results.

Cached search results are also loaded when a user clicks the links in the result page navigator, switching to the second result page (documents 11-20), the third result page (documents 21-30) and so on.

Search result cache improves performance in case of a loaded search server, with high probability of repeating search queries.

The default value is no.

Note: Starting from the version 3.3.8, the QCache=yes parameter to DBAddr is also available, which introduces an alternative implementation of search result caching. It additionally supports the search in found feature (also often referenced as refine your search).

Scope

Cache takes global effect for the entire configuration file and should be used only one time.

Examples


Cache yes
      

See also

the Section called Search results cache in Chapter 10.