Storing compressed document copies

Since mnoGoSearch version 3.2.2 it is possible to store compressed copies of indexed documents. Copies are stored and retrieved by the new deamon - stored, that is installed into sbin directory of mnoGoSearch installation (default: /usr/local/mnogosearch/sbin).

Stored document copies are retrieved by means of storedoc.cgi CGI script. It requests a saved copy of a documents from stored, then a copy is displayed with user's web browser with search keywords highlighted. To support stored, compile mnoGoSearch with zlib support:

./configure --with-zlib <other arguments>

Configure stored

To start using stored, please do the following:

How stored works

After you have successfully configured stored, the indexer pass downloaded documents to stored deamon. After that, stored will compress the received documents and save them.

Using stored during search

To enable displaying stored documents during search, do the following:

This is how stored works during search, if everything configured correctly:

  1. search.htm displays a link to storedoc.cgi;

  2. When user clicks the link, storedoc.cgi sends a query to stored deamon to the address, specified in storedoc.htm with the StoredAddr;

  3. After the query, stored will decompress the requested saved copy and send it to storedoc.cgi;

  4. storedoc.cig parses the received document and apply highlighting of search keywords. Highlighting method is specified with storedoc.htm HlBeg and HlEnd commands;