xapian indexer

Bug #531942 reported by Cédric Jeanneret deactivated
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

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/

Revision history for this message
Cédric Jeanneret deactivated (cjeanneret-c2c-deactivated) wrote :
Revision history for this message
Cédric Jeanneret deactivated (cjeanneret-c2c-deactivated) wrote :

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... ?

Revision history for this message
Cédric Jeanneret deactivated (cjeanneret-c2c-deactivated) wrote :

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!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.