Search results cache

Note: mnoGoSearch 3.3.8 introduced a new type of search result caching, which is activated using the QCache=yes parameter to DBAddr.

The new cache additionally supports the search in found feature.

The rest of this article applies to the old search result cache implementation.

Search results cache allows a very fast search.cgi report on recently used queries as well as user's navigation though the pages of the same result.

Search results cache is disabled by default. You may use "Cache yes" search.htm command to enable results caching.

Search cache is located in the $PREFIX/var/cache/ subdirectory, where $PREFIX is mnoGoSearch installation's base directory. Each result is stored in a separate file.

Note: Search results cache is not deleted automatically. You have to delete it every time after indexer's work to avoid displaying non-recent cached results. It is also reasonable to insert cache cleaning into system crontab, for example once a day. To clean cache, just remove all files in the $PREFIX/var/cache/ directory. For example:


/bin/rm -f /usr/local/mnoGoSearch/var/cache/*