[Bug 531942] [NEW] xapian indexer

Public bug reported: Hello, As it was discussed on mailman-users ML[1], here is my xapian indexer code. You'll find two scripts : - the one which will replace the "normal" archiver - the one called to update pippermail archives Depends: - xappy [2] How it works : just set the variable PUBLIC_EXTERNAL_ARCHIVER and/or PRIVATE_EXTERNAL_ARCHIVER so that it points on archive-and-index.py script Ex: PUBLIC_EXTERNAL_ARCHIVER = '/var/local/bin/archive-and-index.py %(hostname) %(listname)' Change if necessary the path for pipermail-archive.py if necessary. Reload mailman.... and that's all ;) I'd like to really thank Mark Sapiro for his help :) Feel free to use it, and to comment it out. I tested it some times on our server, it works just fine. Best regards, C. [1] http://mail.python.org/pipermail/mailman-users/2010-February/068899.html and following mails [2] http://code.google.com/p/xappy/ ** Affects: mailman Importance: Undecided Status: New -- xapian indexer https://bugs.launchpad.net/bugs/531942 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

** Attachment added: "archive an index incomming mails" http://launchpadlibrarian.net/40168072/archive-and-index.py -- xapian indexer https://bugs.launchpad.net/bugs/531942 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

And here's pippermail part. It's a copy of "arch" script, without the lock stuff. Maybe we should modify "arch" so that we can pass a "-no-lock" option... ? ** Attachment added: "pippermail archiver for the previous script" http://launchpadlibrarian.net/40168163/pipermail-archive.py -- xapian indexer https://bugs.launchpad.net/bugs/531942 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

Please discard all previous attachments (seems I cannot remove them, Mark). According to http://wiki.list.org/x/RAKJ I rewrite my indexer; you'll find it attached with this comment. Thank you Mark for the time you took on my case! ** Attachment added: "archive and index mailman incoming mail - the good way" http://launchpadlibrarian.net/40995991/archive-and-index.py -- xapian indexer https://bugs.launchpad.net/bugs/531942 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.
participants (1)
-
Cédric Jeanneret