Searching Aether with swish-e

Here's some code to make the search form on your aether blog use the powerful full-text indexer swish-e

NOTE: this code is now out-of-date compared to the code I'm actually using.

Drop the code in into, and put swish_config in the same directory, renamed "_swish_config". Run a periodic cron job to regenerate the database, along the lines of

    */20 * * * * cd /var/www/html/aether/index.cgi-data; swish-e -c _swish_config -i .

The _swish_config file is supposed to exclude "secret" files like from the search.

Files currently attached to this page:

swish_config120 bytes

Entry first conceived on 18 March 2005, 17:05 UTC, last modified on 15 January 2012, 3:46 UTC
Website Copyright © 2004-2021 Jeff Epler