Search result cache
===================

Since version 3.1.4 UdmSearch supports search results cache.
Search result cache allow very fast search.cgi reply for recently
used queries as well as for user's navigation though the pages
of the same result.

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

Search cache is located in $PREFIX/var/cache/ subdirectory, where
$PREFIX is UdmSearch installation base directory. Each result is
stored in separated file.

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

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

