Jörg

rundig is run automatically to build/rebuild search indices by whichever one of the nightly_htdig series of cron scripts you choose to use: see the INSTALL.htdig-mm file installed by the patch. The integration patch adds an entry to MM's default crontab ($prefix/Mailman/cron/crontab.in) which runs $prefix/cron/nightly_htdig every 24 hours.

If you want to run nightly_htdig more frequently then you can change the crontab entry that runs it. The script can also be run from the command line or any other means that you want to set up.

The patched Mailman does NOT perform htdig reindexing every time a new piece of mail is added to a list's archive, that is why the patched code adds and updates a note like this to a list's Archive TOC web page, below the search form:

<quote>
Note:The archive search index was last rebuilt at <date-time group rundig last run inserted here>. Any postings after that will not be found by a search. Index rebuild is usally done once every 24 hours for this list. You can use a "View by date" link below to access more recent postings.
</quote>


Hope that resolves you query. Let me know if not.

Richard

On Wed Feb 18 03:36:50 EST 2004 Joerg Fries said:

<quote>
Hello All,

yesterday I've integrated htdig into mailman successfully. My archives are
searchable now.


When I read the docs, I've expected the following: When a new mail (post)
arrived, the archiver qrunner should update the archives *and* run rundig to
update the database files in
/var/lib/mailman/archives/private/<listname>/htdig. Am I right? But on my
site there is no update of the htdig files.


I am running mailman-2.1.4 and htdig-3.1.6 on SuSE 8.2 with all the patches
provided by Richard Barrett applied (thanks for all, Richard). Here is my
mm_cfg.py file:


[...]
USE_HTDIG = 1
HTDIG_RUNDIG_PATH = '/usr/bin/rundig'
HTDIG_HTSEARCH_PATH = '/srv/www/cgi-bin/htsearch'
HTDIG_FILES_URL = '/htdig/images/'

No entries in log files error and qrunner (I've restarted qrunner before I
posted)


Thanks for any help

Joerg
</quote>
-----------------------------------------------------------------------
Richard Barrett                               http://www.openinfo.co.uk

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to