[Koha-devel] (sort of) Refactoring rebuild_zebra

MJ Ray mjr at phonecoop.coop
Thu Aug 26 12:45:57 CEST 2010


Tomas Cohen Arazi wrote:
> On Tue, Aug 24, 2010 at 2:02 PM, MJ Ray <mjr at phonecoop.coop> wrote:
> > we figure out one size that fits all?  Maybe have one daemon
> > running and then different ways for a cron job or librarian
> > interface task to signal (some SIG perhaps?) that it needs to act?
> 
> I've just send a rewrite of zebraqueue daemon that does run (sort of
> refactoring of) rebuild_zebra as one would do with cron. I think is
> the right way to handle this. Avoid using cron, and configure the
> frequency of the update via systempreferences.

As you know, I've made a few comments on that and having a daemon
around does open the door to realtime reindexing, but I don't think
that rewrite does that yet.  I don't think it would be difficult to
allow the librarian interface to wake it up sooner than the update
frequency set in systempreferences, would it?

This has been discussed over on the koha list and one case where
realtime reindexing would really help is when authorities are being
added at cataloguing-time.  At the moment, some librarians are
changing their workflow to suit Koha, which seems backwards to me.

Thanks,
-- 
MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op.
Webmaster, Debian Developer, Past Koha RM, statistician, former lecturer.
In My Opinion Only: see http://mjr.towers.org.uk/email.html
Available for hire for Koha work http://www.software.coop/products/koha


More information about the Koha-devel mailing list