NOTE: this code is now out-of-date compared to the code I'm actually using.
Drop the code in aether_search_swish.py into _code.py, 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 _code.py from the search.
Files currently attached to this page:
aether_search_swish.py | 2.0kB |
swish_config | 120 bytes |
Entry first conceived on 18 March 2005, 17:05 UTC, last modified on 15 January 2012, 3:46 UTC
Website Copyright © 2004-2024 Jeff Epler